Created
June 26, 2014 08:03
-
-
Save nivv/507202a031054cef3b03 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
gulp.task('styles', function () { | |
gulp.src('less/main.less') | |
.pipe(less(function () { | |
this.emit("error", new Error("Something happend: Error message!")) | |
})) | |
.on("error", notify.onError(function (error) { | |
return "Message to the notifier: " + error.message; | |
})) | |
.pipe(gulp.dest('css')) | |
.pipe(livereload()); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment