Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a watch hook? #151

Open
MickL opened this issue Jun 5, 2017 · 1 comment
Open

Is there a watch hook? #151

MickL opened this issue Jun 5, 2017 · 1 comment

Comments

@MickL
Copy link

MickL commented Jun 5, 2017

I like the performance of watch but i don't see any callback(watch-finished-hook) to reload my server. E.g. Browsersync needs to get triggered manually.

E.g. for my styles:

    gulp.watch('styles/**/*.scss', function() {
            runSequence('styles', 'server:reload')
    })
@dooks
Copy link

dooks commented Oct 30, 2017

The pipe's callback should be ran again on watch.

.pipe(webpackStream(webpackConfig, webpack, () => {
  // reload browser
}))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants