gulp-error-notifier
Notify about errors from gulp plugins and streams via desktop notifications of node-notifier.
Install
npm install --save-dev gulp-error-notifier
Usage
var gulp = ;var errorNotifier = ;var jade = ; gulp ;
API
errorNotifier()
Plumber stream with notify
as errorHandler
.
errorNotifier.notify(error)
Logs error
to console and displays error
notification.
var notify = notify; ;
errorNotifier.handleError(stream)
Notifies on stream
'error'
event and stops it from further executing.
To be used with SASS and Browserify.
var gulp = ;var errorNotifier = var sass = ; gulp ;
Examples
For detailed executable examples look at examples/gulpfile.babel.js
.
cd examplesnpm installgulp --tasksgulp example # run specific example
Contributing
All contributions are welcome. Make a pull request or open an issue.