Merge pull request #26451 from Microsoft/nonRecursiveOnHostsWithoutRecursiveSupport
Return the nonrecursive directory watcher correctly on platforms that dont support recrusive directory watching
This commit is contained in:
commit
b9bd0d9a3f
|
@ -756,8 +756,7 @@ namespace ts {
|
|||
if (recursive) {
|
||||
return watchDirectoryRecursively(directoryName, callback);
|
||||
}
|
||||
watchDirectory(directoryName, callback);
|
||||
return undefined!; // TODO: GH#18217
|
||||
return watchDirectory(directoryName, callback);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue