There is a gulp plugin to send notifications.
For more information on
gulp-notify check out https://www.npmjs.org/package/gulp-notify
Remember that gulp uses node’s streaming. It shouldn’t be a surprise that when
gulp-jsvalidate finds an error, it emits an error event.
All we need to do is handle the event and use
gulp-notify to send a notification with the error message.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
1 2 3 4
1 2 3 4 5 6 7