From d6a226e6bd58efdae1a465a858711caf1e6118ad Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 4 May 2018 18:37:29 +0100 Subject: [PATCH] Put webpack-dev-server in development mode https://github.com/webpack/webpack-dev-server/issues/1327 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 98abccb89b..c1500e40af 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "install:electron": "install-app-deps", "electron": "npm run install:electron && electron .", "start:res": "node scripts/copy-res.js -w", - "start:js": "webpack-dev-server --output-filename=bundles/_dev_/[name].js --output-chunk-filename=bundles/_dev_/[name].js -w --progress", + "start:js": "webpack-dev-server --output-filename=bundles/_dev_/[name].js --output-chunk-filename=bundles/_dev_/[name].js -w --progress --mode development", "start:js:prod": "cross-env NODE_ENV=production webpack-dev-server -w --progress", "start": "parallelshell \"npm run reskindex:watch\" \"npm run start:res\" \"npm run start:js\"", "start:prod": "parallelshell \"npm run reskindex:watch\" \"npm run start:res\" \"npm run start:js:prod\"",