fswatch icon indicating copy to clipboard operation
fswatch copied to clipboard

Add support for non existing files

Open rysson opened this issue 3 years ago • 0 comments

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.

rysson avatar Nov 04 '22 10:11 rysson