In my package.json I have these two scripts:
package.json
\"scripts\": { \"start-watch\": \"nodemon run-babel index.js\", \"wp-server\": \"webpack-
npm-run-all --parallel task1 task2
edit:
You need to have npm-run-all installed beforehand. Also check this page for other usage scenarios.