Skip to content

Commit

Permalink
Output to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
samovesel authored Oct 8, 2018
1 parent 10c6f0a commit 7e339ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/arduino.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ module.exports = function (grunt) {

grunt.log.writeln('Parameters: ' + args.join(' '));

grunt.util.spawn({
child = grunt.util.spawn({
cmd: path.resolve(options.idePath),
args: args
}, function (err, result) {
Expand All @@ -127,5 +127,7 @@ module.exports = function (grunt) {

done();
});
child.stdout.pipe(process.stdout);
child.stderr.pipe(process.stderr);
});
};

0 comments on commit 7e339ab

Please sign in to comment.