Merge pull request #26135 from Microsoft/watchDirectoryOfNodeModulesScriptInfo

Instead of watching individual script infos, watch the node modules folder for script infos in node modules
This commit is contained in:
Sheetal Nandi
2018-09-14 09:49:41 -07:00
committed by GitHub
5 changed files with 134 additions and 22 deletions

View File

@@ -250,6 +250,9 @@ namespace ts.server {
/*@internal*/
cacheSourceFile: DocumentRegistrySourceFileCache;
/*@internal*/
mTime?: number;
constructor(
private readonly host: ServerHost,
readonly fileName: NormalizedPath,