Answers for "how to run multiple npm scripts parallel"

0

how to run multiple npm scripts parallel

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"
Posted by: Guest on June-15-2021

Code answers related to "how to run multiple npm scripts parallel"

Browse Popular Code Answers by Language