From b85d70da332833cdd982b83d8daf87164bb1bae3 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 5 Mar 2018 11:15:02 +0100 Subject: [PATCH] Add dev command that watches file changes Signed-off-by: Christoph Wurst --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 46bba19..e37fe9b 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,9 @@ "webpack-merge": "^4.1.2" }, "scripts": { - "test": "./node_modules/karma/bin/karma start karma.conf.js --single-run", - "build": "./node_modules/webpack/bin/webpack.js --config js/webpack.prod.config.js" + "build": "./node_modules/webpack/bin/webpack.js --config js/webpack.prod.config.js", + "dev": "./node_modules/webpack/bin/webpack.js --config js/webpack.dev.config.js --watch", + "test": "./node_modules/karma/bin/karma start karma.conf.js --single-run" }, "repository": { "type": "git",