Skip to content

Commit

Permalink
Merge pull request #92 from merceyz/pnp
Browse files Browse the repository at this point in the history
fix: spawn compiler using node
  • Loading branch information
Gil Amran committed May 23, 2020
2 parents e91e81a + 7351089 commit 5027aa3
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 5027aa3

Please sign in to comment.