Last active
October 11, 2015 12:20
-
-
Save gunlinux/e8b2febe13b915e67f63 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var notify = require('gulp-notify'); | |
function log() { | |
var args = Array.prototype.slice.call(arguments); | |
// Send error to notification center with gulp-notify | |
notify.onError({ | |
title: 'Compile Error', | |
message: '<%= error %>' | |
}).apply(this, args); | |
// Keep gulp from hanging on this task | |
this.emit('end'); | |
}; |
Author
gunlinux
commented
Sep 9, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment