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

This commit is contained in:
Sheetal Nandi committed 2018-12-21 12:53:14 -08:00
1 parent b8def16e92
commit 0cabb00b34
6 files changed
+92 -54

No files matched your search

+2 -2
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;