1.0.0 • Published 5 years ago

multispawn v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

multispawn

travis appveyor cov-codeclimate score-codeclimate npm-downloads npm-version dm-david

This is a simple CLI that will let you run multiple commands, at the same time, in the foreground. This is similar to bashs ability to run programs in the background (&) along with a wait, but works cross-platform. Just type all your commands the way you would put them in your terminal and split them with !.

Example:

npx multispawn npx http-server -p 8000 ! npx localtunnel --port 8000

The above code is functionally equivalent to this bit in bash:

npx http-server -p 8000 &
npx localtunnel --port 8000 &
wait