Skip to content
This repository was archived by the owner on Dec 1, 2019. It is now read-only.

Commit 5c7b0de

Browse files
kryopss-panferov
authored andcommitted
fix(checker): pass through execArgv to checker child process (#479)
This allows passing command-line options other than --debug and --inspect through to the type checker child process, e.g. --max-old-space-size to increase the available memory
1 parent b109ee4 commit 5c7b0de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/checker/checker.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ function getExecArgv() {
157157
if (match) {
158158
let currentPort = match[3] !== undefined ? +match[3] : match[1] === "debug" ? 5858 : 9229;
159159
execArgv.push("--" + match[1] + "=" + (currentPort + 1));
160-
break;
160+
} else {
161+
execArgv.push(arg);
161162
}
162163
}
163164

0 commit comments

Comments
 (0)