From 9b75e0c60b9fe37527341a0bd270c3833220cec3 Mon Sep 17 00:00:00 2001 From: Perryvw Date: Sun, 17 Mar 2024 15:15:07 +0100 Subject: [PATCH] Properly read extended tsconfig for watcher --- src/cli/tsconfig.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/cli/tsconfig.ts b/src/cli/tsconfig.ts index 2bbe4eef7..33e469368 100644 --- a/src/cli/tsconfig.ts +++ b/src/cli/tsconfig.ts @@ -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); }