commit | 14706140b3670ca1dfeca73480bdd3091b728ce9 | [log] [tgz] |
---|---|---|
author | Michal Terepeta <michalt@google.com> | Thu Jan 07 20:06:14 2021 +0100 |
committer | GitHub <noreply@github.com> | Thu Jan 07 11:06:14 2021 -0800 |
tree | a9abc9b61381f820c705b8b2912df7e787a16a5d | |
parent | 05bcac54482f29e7a584f0dd8b00c2eaa9937003 [diff] |
Fix registerCustomWatcher to allow nulls (#107) The idea behind the closures passed to `registerCustomWatcher` is that they should return `null` if the particular implementation does not support the provided path (in which case we should fallback to other implementations). Modified a test to check this.
A file system watcher.
It monitors changes to contents of directories and sends notifications when files have been added, removed, or modified.