Skip to content

Commit d8c85b3

Browse files
author
jbondc
committed
Run jake in interactive mode so output isn't lost.
1 parent 9f7c252 commit d8c85b3

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Diff for: Jakefile

+1-8
Original file line numberDiff line numberDiff line change
@@ -235,14 +235,7 @@ function compileFile(outFile, sources, prereqs, prefixes, useBuiltCompiler, noOu
235235
cmd = cmd + sources.join(" ");
236236
console.log(cmd + "\n");
237237

238-
var ex = jake.createExec([cmd]);
239-
// Add listeners for output and error
240-
ex.addListener("stdout", function(output) {
241-
process.stdout.write(output);
242-
});
243-
ex.addListener("stderr", function(error) {
244-
process.stderr.write(error);
245-
});
238+
var ex = jake.createExec([cmd], {interactive: true});
246239
ex.addListener("cmdEnd", function() {
247240
if (!useDebugMode && prefixes && fs.existsSync(outFile)) {
248241
for (var i in prefixes) {

0 commit comments

Comments
 (0)