Skip to content
Snippets Groups Projects
Commit cb2c762d authored by Mike Greiling's avatar Mike Greiling
Browse files

use nodemon to watch for changes to webpack config and restart the dev server when necessary

parent dd24066f
No related branches found
No related tags found
No related merge requests found
{
"private": true,
"scripts": {
"dev-server": "webpack-dev-server --config config/webpack.config.js",
"dev-server": "nodemon --watch config/webpack.config.js -- ./node_modules/.bin/webpack-dev-server --config config/webpack.config.js",
"eslint": "eslint --max-warnings 0 --ext .js,.vue .",
"eslint-fix": "eslint --max-warnings 0 --ext .js,.vue --fix .",
"eslint-report": "eslint --max-warnings 0 --ext .js,.vue --format html --output-file ./eslint-report.html .",
Loading
Loading
@@ -70,6 +70,7 @@
"karma-phantomjs-launcher": "^1.0.2",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^2.0.2",
"nodemon": "^1.11.0",
"webpack-dev-server": "^2.4.2"
}
}
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment