Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // pipe errors to console
- var interceptErrors = function (error) {
- var args = Array.prototype.slice.call(arguments);
- // send error to notification center
- notify
- .onError({
- title: 'Compile Error',
- message: '<%= error.message %>',
- })
- .apply(this, args);
- // end to keep gulp from hanging on the task
- this.emit('end');
- };
Advertisement
Add Comment
Please, Sign In to add comment