(existingWatcher, flags, directory)
| 115529 | }; |
| 115530 | } |
| 115531 | function updateWildcardDirectoryWatcher(existingWatcher, flags, directory) { |
| 115532 | // Watcher needs to be updated if the recursive flags dont match |
| 115533 | if (existingWatcher.flags === flags) { |
| 115534 | return; |
| 115535 | } |
| 115536 | existingWatcher.watcher.close(); |
| 115537 | existingWatchedForWildcards.set(directory, createWildcardDirectoryWatcher(directory, flags)); |
| 115538 | } |
| 115539 | } |
| 115540 | ts.updateWatchingWildcardDirectories = updateWatchingWildcardDirectories; |
| 115541 | /* @internal */ |
nothing calls this directly
no test coverage detected