epilogue.txt 1.0 KB

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