-
-
Save kohgpat/7f52ac174d9b2f8b6552 to your computer and use it in GitHub Desktop.
This file contains 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'); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment