mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-12 04:17:34 -06:00
FileWatcher - handle empty directory path as the current directory Fixes #14559
This commit is contained in:
parent
48d5485379
commit
51e9aef2a7
@ -153,7 +153,7 @@ namespace ts {
|
||||
return;
|
||||
}
|
||||
watcher = _fs.watch(
|
||||
dirPath,
|
||||
dirPath || ".",
|
||||
{ persistent: true },
|
||||
(eventName: string, relativeFileName: string) => fileEventHandler(eventName, relativeFileName, dirPath)
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user