Skip to content

Commit

Permalink
Standard output is always printed by the "_exec" build task
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Jan 20, 2015
1 parent 14cc58d commit f351673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ gulp.task('watch', [ 'default', 'serve' ], function() {
*/
function _exec(command, callback) {
child.exec(command, function(err, stdout) {
console.log(stdout.trim());
if(err) console.error(err);
else console.log(stdout.trim());
callback();
});
}

0 comments on commit f351673

Please sign in to comment.