Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

How to trigger live reload? #4

Open
lmartins opened this issue May 24, 2014 · 0 comments
Open

How to trigger live reload? #4

lmartins opened this issue May 24, 2014 · 0 comments

Comments

@lmartins
Copy link

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
        }));
    });

});
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant