Watch webpack config when running locally.

master
Icedream 2018-08-25 05:51:56 +02:00
parent 7d20926c9b
commit c611441e93
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.4.2",
"mkdirp": "^0.5.1",
"nodemon": "^1.18.3",
"npm-run-all": "^4.1.3",
"postcss-font-family-system-ui": "^3.0.0",
"postcss-loader": "^3.0.0",
@ -44,7 +45,7 @@
"scripts": {
"build": "webpack --mode development",
"build:production": "webpack --mode production",
"start": "webpack-dev-server --mode development --content-base dist/ --host 0.0.0.0 --port 4545",
"start": "nodemon --watch webpack.config.babel.js --exec webpack-dev-server --mode development --content-base dist/ --host 0.0.0.0 --port 4545",
"video": "run-s video:mkdirp video:dash",
"video:production": "run-s video:mkdirp video:dash:production",
"video:mkdirp": "mkdirp dist/video",