DirectoryWatcher is a wrapper around watch_file, and can be used to watch for changes in directories.