diff --git a/build/webpack.demo.js b/build/webpack.demo.js index 277ec68b8..8b770fd33 100644 --- a/build/webpack.demo.js +++ b/build/webpack.demo.js @@ -33,7 +33,8 @@ const webpackConfig = { devServer: { host: '0.0.0.0', port: 8085, - publicPath: '/' + publicPath: '/', + hot: true }, performance: { hints: false @@ -100,6 +101,7 @@ const webpackConfig = { ] }, plugins: [ + new webpack.HotModuleReplacementPlugin(), new HtmlWebpackPlugin({ template: './examples/index.tpl', filename: './index.html',