Skip to content

Commit 7faf311

Browse files
committed
fix: pass --bsc-path to implicit build command
1 parent 9bf9d43 commit 7faf311

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cli/rewatch.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ try {
3232
stdio: "inherit",
3333
});
3434
}
35+
} else {
36+
// no subcommand means build subcommand
37+
child_process.execFileSync(rewatch_exe, [...args, "--bsc-path", bsc_exe], {
38+
stdio: "inherit",
39+
});
3540
}
3641
} catch (err) {
3742
if (err.status !== undefined) {

0 commit comments

Comments
 (0)