Skip to content

Commit

Permalink
fix: windows spawn EINVAL error
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 committed May 3, 2024
1 parent 5f1b701 commit 9261c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/process.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const forkTsc = (tscArgs = [], options = {}) => {
const child = spawn(isWin ? 'tsc.cmd' : 'tsc', tscArgs, {
stdio: ['pipe', 'pipe', 'inherit'],
cwd: options.cwd,
shell: true,
shell: isWin ? true : undefined,
});

let totalFileChangedList = [];
Expand Down

0 comments on commit 9261c74

Please sign in to comment.