Use watch factory instead of direct host functions in tsbuild to provide detailed information on watch invokations

This commit is contained in:
Sheetal Nandi
2018-12-14 15:13:19 -08:00
parent b8def16e92
commit 0cabb00b34
6 changed files with 92 additions and 54 deletions

View File

@@ -428,7 +428,7 @@ namespace ts.server {
directory,
cb,
flags,
WatchType.FailedLookupLocation,
WatchType.FailedLookupLocations,
this
);
}
@@ -989,7 +989,7 @@ namespace ts.server {
}
},
PollingInterval.Medium,
WatchType.MissingFilePath,
WatchType.MissingFile,
this
);
return fileWatcher;