You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/compiler/watchPublic.ts
+27-2Lines changed: 27 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -265,12 +265,14 @@ namespace ts {
265
265
letbuilderProgram: T;
266
266
letreloadLevel: ConfigFileProgramReloadLevel;// level to indicate if the program needs to be reloaded from config file/just filenames etc
267
267
letmissingFilesMap: ESMap<Path,FileWatcher>;// Map of file watchers for the missing files
268
+
letpackageJsonMap: ESMap<Path,FileWatcher>;// map of watchers for package json files used in module resolution
268
269
letwatchedWildcardDirectories: ESMap<string,WildcardDirectoryWatcher>;// map of watchers for the wild card directories in the config file
269
270
lettimerToUpdateProgram: any;// timer callback to recompile the program
270
271
lettimerToInvalidateFailedLookupResolutions: any;// timer callback to invalidate resolutions for changes in failed lookup locations
271
272
letparsedConfigs: ESMap<Path,ParsedConfig>|undefined;// Parsed commandline and watching cached for referenced projects
272
273
letsharedExtendedConfigFileWatchers: ESMap<Path,SharedExtendedConfigFileWatcher<Path>>;// Map of file watchers for extended files, shared between different referenced projects
273
274
letextendedConfigCache=host.extendedConfigCache;// Cache for extended config evaluation
275
+
letchangesAffectResolution=false;// Flag for indicating non-config changes affect module resolution
274
276
275
277
constsourceFilesCache=newMap<string,HostFileInfo>();// Cache that stores the source file and version info
276
278
letmissingFilePathsRequestedForRelease: Path[]|undefined;// These paths are held temporarily so that we can remove the entry from source file cache if the file is not tracked by missing files
0 commit comments