Add a directory watcher. Currently only has a win32 implementation.