Implement the ability to register custom watcher implementations

This allows registering a special-purpose factory that returns its own
`Watcher` implementation that will take precedence over the default
ones. The main motivation for this is handling of file systems that need
custom code to watch for changes.
5 files changed
tree: 9f8d336be3cdeda38e6c258e4a055db91d114b28
  1. pkgs/