Here is my configuration:
devServer: { contentBase: '/web/dist/', hot: true, stats: {colors: true}, inline: true }
And here the gulp task is executed:
gulp.task('build', ['clean', 'styles', 'bower', 'media', 'data', 'homepage'], function(done) { es6promise.polyfill(); console.log('STARTING DEV SERVER...'); server = new WebpackDevServer(webpack(webpackDevConfig), webpackDevConfig.devServer); server.listen(8080, '0.0.0.0', function (err, stats) { if (err) { throw new gutil.PluginError("webpack-dev-server", err); } console.log('DEV SERVER STARTED'); done(); }); });
Everything works as expected, except for a hot boot (without updating or changing when making changes to files). What am I doing wrong here?
source share