From 6685340b42fe7ac9caefdaa4dc9fc34f030894c6 Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Tue, 15 Dec 2015 17:12:53 +0100 Subject: [PATCH] improvements to build --- package.json | 2 +- webpack.config.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8baddd0..a7f8a36 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "description": "decentralized discussion board", "scripts": { - "serve": "webpack-dev-server --progress --no-info", + "serve": "webpack-dev-server --progress --hot --devtool eval-source --no-info", "build": "webpack --progress" }, "repository": { diff --git a/webpack.config.js b/webpack.config.js index 45ca565..624a20d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -88,6 +88,7 @@ config.devServer = { watch: true, progress: true, debug: true, + hot: true, devtool: 'eval-source', port: 9090, noInfo: true,