Question : run two scripts parallel
Answered by : cherry-berry
npm-run-all --parallel script1 script2
Source : | Last Update : Wed, 02 Aug 23
Question : how to run multiple npm scripts parallel
Answered by : sanju
If you're using an UNIX-like environment, just use & as the separator:
"dev": "npm run start-watch & npm run wp-server"
Otherwise if you're interested on a cross-platform solution, you could use npm-run-all module:
"dev": "npm-run-all --parallel start-watch wp-server"
Source : https://stackoverflow.com/questions/30950032/how-can-i-run-multiple-npm-scripts-in-parallel | Last Update : Tue, 22 Jun 21