Skip to content
This repository was archived by the owner on Aug 14, 2026. It is now read-only.
This repository was archived by the owner on Aug 14, 2026. It is now read-only.

How to make it works with BrowserSync? #48

Open

Description

@huyle2607

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!

Activity

  1. huyle2607 commented on Mar 29, 2016

    @huyle2607
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions