Skip to content

Commit

Permalink
gulp hook write to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensayshi committed Oct 5, 2015
1 parent cd52514 commit ff05de8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hooks/before_prepare/010_gulp.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ var exec = require('child_process').exec;
var rootdir = process.argv[2];

if (rootdir) {
exec("gulp");
exec("gulp", function puts(error, stdout, stderr) {
sys.puts(stderr);
sys.puts(stdout);
});
}

0 comments on commit ff05de8

Please sign in to comment.