Created
August 26, 2014 04:25
-
-
Save koycarraway/290df6e104e378891b94 to your computer and use it in GitHub Desktop.
Gulp Plumber Notify Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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