Merge pull request #293 from mariusc23/master

Fix gulp watch stopping on error.
This commit is contained in:
Sam Richard 2015-06-25 09:36:35 -05:00
commit 273e0a33f8

View file

@ -151,7 +151,9 @@ gulpSass.sync = function sync(options) {
// Log errors nicely
//////////////////////////////
gulpSass.logError = function logError(error) {
gutil.log(gutil.colors.red('[' + PLUGIN_NAME + '] ') + error.messageFormatted);
var message = new gutil.PluginError('sass', error.messageFormatted).toString();
process.stderr.write(message + '\n');
this.emit('end');
};
//////////////////////////////