Skip to content

Commit

Permalink
Properly read extended tsconfig for watcher (#1544)
Browse files Browse the repository at this point in the history
  • Loading branch information
Perryvw committed Mar 17, 2024
1 parent b6fce8d commit 7bc5847
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/cli/tsconfig.ts
Expand Up @@ -137,16 +137,7 @@ export function createConfigFileUpdater(
if (!configFile || !configFilePath) return [];

if (!configFileMap.has(configFile)) {
const parsedConfigFile = updateParsedConfigFile(
ts.parseJsonSourceFileConfigFileContent(
configFile,
ts.sys,
path.dirname(configFilePath),
optionsToExtend,
configFilePath
)
);

const parsedConfigFile = parseConfigFileWithSystem(configFilePath, optionsToExtend, ts.sys);
configFileMap.set(configFile, parsedConfigFile);
}

Expand Down

0 comments on commit 7bc5847

Please sign in to comment.