Question : how to execute more commands scripts package.json
Answered by : volmir
* If you are using an UNIX-like environment, just use & as the separator:
"dev": "npm run start-watch & npm run wp-server"
* From windows cmd you can use start:
"dev": "start npm run start-watch && start npm run wp-server"
Every command launched this way starts in its own window.
Source : https://stackoverflow.com/questions/30950032/how-can-i-run-multiple-npm-scripts-in-parallel | Last Update : Thu, 16 Dec 21