Skip to content

Instantly share code, notes, and snippets.

@koycarraway
Created August 26, 2014 04:25
Show Gist options
  • Save koycarraway/290df6e104e378891b94 to your computer and use it in GitHub Desktop.
Save koycarraway/290df6e104e378891b94 to your computer and use it in GitHub Desktop.
Gulp Plumber Notify Error
var plumber = require('gulp-plumber');
var notify = require('gulp-notify');
// SASS style sheets
gulp.task('styles', function () {
return gulp.src('./PATH')
.pipe(plumber({
errorHandler: notify.onError("Error: <%= error.message %>")
}))
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment