UNPKG

349 BJavaScriptView Raw
1var notify = require("gulp-notify");
2
3module.exports = function() {
4
5 var args = Array.prototype.slice.call(arguments);
6
7 // Send error to notification center with gulp-notify
8 notify.onError({
9 title: "Compile Error",
10 message: "<%= error.message %>"
11 }).apply(this, args);
12
13 // Keep gulp from hanging on this task
14 this.emit('end');
15};
\No newline at end of file