mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Close package json watches in watch mode on close (#45642)
This commit is contained in:
@@ -404,6 +404,10 @@ namespace ts {
|
||||
});
|
||||
parsedConfigs = undefined;
|
||||
}
|
||||
if (packageJsonMap) {
|
||||
clearMap(packageJsonMap, closeFileWatcher);
|
||||
packageJsonMap = undefined!;
|
||||
}
|
||||
}
|
||||
|
||||
function getCurrentBuilderProgram() {
|
||||
|
||||
Reference in New Issue
Block a user