Close package json watches in watch mode on close (#45642)

This commit is contained in:
Wesley Wigham
2021-08-30 12:53:26 -07:00
committed by GitHub
parent d699bcdaae
commit f598076e68
5 changed files with 12 additions and 16 deletions
+4
View File
@@ -404,6 +404,10 @@ namespace ts {
});
parsedConfigs = undefined;
}
if (packageJsonMap) {
clearMap(packageJsonMap, closeFileWatcher);
packageJsonMap = undefined!;
}
}
function getCurrentBuilderProgram() {