(watchFile, fallbackPolling, options)
| 6829 | } |
| 6830 | } |
| 6831 | function generateWatchFileOptions(watchFile, fallbackPolling, options) { |
| 6832 | var defaultFallbackPolling = options === null || options === void 0 ? void 0 : options.fallbackPolling; |
| 6833 | return { |
| 6834 | watchFile: watchFile, |
| 6835 | fallbackPolling: defaultFallbackPolling === undefined ? |
| 6836 | fallbackPolling : |
| 6837 | defaultFallbackPolling |
| 6838 | }; |
| 6839 | } |
| 6840 | function watchDirectory(directoryName, callback, recursive, options) { |
| 6841 | if (fsSupportsRecursiveFsWatch) { |
| 6842 | return fsWatch(directoryName, 1 /* FileSystemEntryKind.Directory */, createFsWatchCallbackForDirectoryWatcherCallback(directoryName, callback, options, useCaseSensitiveFileNames, getCurrentDirectory), recursive, PollingInterval.Medium, ts.getFallbackOptions(options)); |
no outgoing calls
no test coverage detected