webpack-with-common-libs
webpack-with-common-libs copied to clipboard
How to trigger live reload?
Usual gulp tasks pipe files allowing me to trigger a reload at the end. How could that be applied using the following snippet from your sample files:
gulp.task("webpack:build-dev", function() {
// run webpack
devCompiler.run(function(err, stats) {
if(err) throw new gutil.PluginError("webpack:build-dev", err);
gutil.log("[webpack:build-dev]", stats.toString({
colors: true
}));
});
});