fswatch
fswatch copied to clipboard
Add support for non existing files
Hi, an awesome library, thanks.
I have a problem when I point a non-existing file.
wd = inotify_add_watch(fd, root, WATCH_FLAGS);
// add wd and directory name to Watch map
watch.insert(-1, root, wd);
In this case the wd is -1 and select waits forever.