DEV Community

Discussion on: How to run multiple npm scripts in parallel

Collapse
 
weirdmayo profile image
Daniel Mayovsky

I just use tmux if I ever have to run more than one command of the same program in the same terminal. I also have tmux automation scripts, basically saving me a great deal of time. Instead of running
npm gulp, npm server at the same time, everytime I sit down to work on the project. I create a small TMUX script that will run those commands for me, and also start an editor and a browser with the project, and I just have to get to coding immediately.

Collapse
 
therealdanvega profile image
Dan Vega

I needed this to run on Windows as well so thats why I ended up with npm-run-all. Thanks for sharing information about tmux though!