You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
349 B
JavaScript
15 lines
349 B
JavaScript
10 years ago
|
var notify = require("gulp-notify");
|
||
|
|
||
|
module.exports = function() {
|
||
|
|
||
|
var args = Array.prototype.slice.call(arguments);
|
||
|
|
||
|
// Send error to notification center with gulp-notify
|
||
|
notify.onError({
|
||
|
title: "Compile Error",
|
||
|
message: "<%= error.message %>"
|
||
|
}).apply(this, args);
|
||
|
|
||
|
// Keep gulp from hanging on this task
|
||
|
this.emit('end');
|
||
|
};
|