Skip to content

Commit

Permalink
fix: spawn compiler using node
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed May 23, 2020
1 parent e91e81a commit 7351089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tsc-watch.js
Expand Up @@ -46,7 +46,7 @@ try {
}

let compilationErrorSinceStart = false;
const tscProcess = spawn(bin, [...args]);
const tscProcess = spawn('node', [bin, ...args]);
const rl = readline.createInterface({
input: tscProcess.stdout,
});
Expand Down

0 comments on commit 7351089

Please sign in to comment.