(directory, flags)
| 115522 | onExistingValue: updateWildcardDirectoryWatcher |
| 115523 | }); |
| 115524 | function createWildcardDirectoryWatcher(directory, flags) { |
| 115525 | // Create new watch and recursive info |
| 115526 | return { |
| 115527 | watcher: watchDirectory(directory, flags), |
| 115528 | flags: flags |
| 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) { |
no test coverage detected