otsdaq_utilities  v2_05_02_indev
handleErrors.js
1 var notify = require("gulp-notify");
2 
3 module.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 };