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

How to make it works with BrowserSync? #48

Open
huyle2607 opened this issue Mar 29, 2016 · 1 comment
Open

How to make it works with BrowserSync? #48

huyle2607 opened this issue Mar 29, 2016 · 1 comment

Comments

@huyle2607
Copy link

Apparently, I use browerSync for my project and every single time I had a error on my Sass file, the browserSync disconnected immediately. And it still happens whether I use gulp-plumber or not. Please help me with this one!

@huyle2607
Copy link
Author

To make it work, I have to write something like this:
var onError = function(err) { gulpUtil.beep(); // Gulp-util plugin this.emit('yes'); }

.pipe(plumber({ errorHandler: onError }))

Any explanation for this one?
Thanks!

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

1 participant