UNPKG

1.06 kBPlain TextView Raw
1Examples:
2
3 - Output nothing more than stdout+stderr of child processes
4
5 $ $0 --raw "npm run watch-less" "npm run watch-js"
6
7 - Normal output but without colors e.g. when logging to file
8
9 $ $0 --no-color "grunt watch" "http-server" > log
10
11 - Custom prefix
12
13 $ $0 --prefix "{time}-{pid}" "npm run watch" "http-server"
14
15 - Custom names and colored prefixes
16
17 $ $0 --names "HTTP,WATCH" -c "bgBlue.bold,bgMagenta.bold" "http-server" "npm run watch"
18
19 - Send input to default
20
21 $ $0 --handle-input "nodemon" "npm run watch-js"
22 rs # Sends rs command to nodemon process
23
24 - Send input to specific child identified by index
25
26 $ $0 --handle-input "npm run watch-js" nodemon
27 1:rs
28
29 - Send input to specific child identified by name
30
31 $ $0 --handle-input -n js,srv "npm run watch-js" nodemon
32 srv:rs
33
34 - Shortened NPM run commands
35
36 $ $0 npm:watch-node npm:watch-js npm:watch-css
37
38 - Shortened NPM run command with wildcard
39
40 $ $0 npm:watch-*
41
42For more details, visit https://github.com/kimmobrunfeldt/concurrently