|
@@ -219,7 +219,7 @@ gulp.task('webpack-dev-server', () => { |
|
@@ -219,7 +219,7 @@ gulp.task('webpack-dev-server', () => { |
219
|
devConfig.plugins[0] = new ExtractTextPlugin('bundle/[name].css');
|
219
|
devConfig.plugins[0] = new ExtractTextPlugin('bundle/[name].css');
|
220
|
devConfig.plugins.push(new webpack.HotModuleReplacementPlugin());
|
220
|
devConfig.plugins.push(new webpack.HotModuleReplacementPlugin());
|
221
|
|
221
|
|
222
|
- // devConfig.entry.libs.unshift(`webpack-dev-server/client?${devConfig.output.publicPath}`, 'webpack/hot/dev-server');
|
222
|
+ devConfig.entry.libs.unshift(`webpack-dev-server/client?${devConfig.output.publicPath}`, 'webpack/hot/dev-server');
|
223
|
|
223
|
|
224
|
new WebpackDevServer(webpack(devConfig), {
|
224
|
new WebpackDevServer(webpack(devConfig), {
|
225
|
contentBase: '.',
|
225
|
contentBase: '.',
|