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
1 changed files with 1 additions and 2 deletions
|
@ -756,8 +756,7 @@ namespace ts {
|
||||||
if (recursive) {
|
if (recursive) {
|
||||||
return watchDirectoryRecursively(directoryName, callback);
|
return watchDirectoryRecursively(directoryName, callback);
|
||||||
}
|
}
|
||||||
watchDirectory(directoryName, callback);
|
return watchDirectory(directoryName, callback);
|
||||||
return undefined!; // TODO: GH#18217
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue