Skip to content

Commit

Permalink
Also chalk task errors
Browse files Browse the repository at this point in the history
  • Loading branch information
robrich committed Nov 4, 2013
1 parent 22e400d commit c18ca2b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ function Gulp(){
this.on('task_stop', function(e){
gulp.log('Finished', "'"+chalk.cyan(e.task)+"'");
});

this.on('task_err', function(e){
var mess = e && e.message ? e.message : e;
gulp.log('Errored', "'"+chalk.cyan(e.task)+"' "+chalk.red(mess)+' ');
});
}
util.inherits(Gulp, Orchestrator);

Expand Down

0 comments on commit c18ca2b

Please sign in to comment.