Skip to content

Commit 7bc5847

Browse files
authored
Properly read extended tsconfig for watcher (#1544)
1 parent b6fce8d commit 7bc5847

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/cli/tsconfig.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -137,16 +137,7 @@ export function createConfigFileUpdater(
137137
if (!configFile || !configFilePath) return [];
138138

139139
if (!configFileMap.has(configFile)) {
140-
const parsedConfigFile = updateParsedConfigFile(
141-
ts.parseJsonSourceFileConfigFileContent(
142-
configFile,
143-
ts.sys,
144-
path.dirname(configFilePath),
145-
optionsToExtend,
146-
configFilePath
147-
)
148-
);
149-
140+
const parsedConfigFile = parseConfigFileWithSystem(configFilePath, optionsToExtend, ts.sys);
150141
configFileMap.set(configFile, parsedConfigFile);
151142
}
152143

0 commit comments

Comments
 (0)