Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Using npm-run-all --parallel in npm scripts
"scripts": {
"start": "npm-run-all --parallel server watch:extension watch:lint",
"server": "cross-env NODE_ENV=development webpack-dev-server --config webpack.web.js",
"watch": "npm-run-all --parallel watch:*",
"watch:web": "cross-env NODE_ENV=development webpack --watch --progress --colors --config webpack.web.js",
"watch:extension": "cross-env NODE_ENV=development webpack --watch --progress --colors --config webpack.extension.js",
"watch:lint": "onchange -p -v \"src/**/*.js\" -- npm run lint",
"lint": "eslint --color .",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment