We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb9400c commit 9bf9d43Copy full SHA for 9bf9d43
cli/rewatch.js
@@ -12,7 +12,7 @@ const firstPositionalArgIndex = args.findIndex((arg) => !arg.startsWith("-"));
12
try {
13
if (firstPositionalArgIndex !== -1) {
14
const subcommand = args[firstPositionalArgIndex];
15
- const subcommandArgs = args.slice(firstPositionalArgIndex + 1);
+ const subcommandWithArgs = args.slice(firstPositionalArgIndex);
16
17
if (
18
subcommand === "build" ||
@@ -22,7 +22,7 @@ try {
22
) {
23
child_process.execFileSync(
24
rewatch_exe,
25
- [...subcommandArgs, "--bsc-path", bsc_exe],
+ [...subcommandWithArgs, "--bsc-path", bsc_exe],
26
{
27
stdio: "inherit",
28
}
0 commit comments