coolaj86/node-inotify-plusplus — Issue #6: Unable to use flags?
Author: whitman
Created: 2012-02-01 15:10:51+00:00
State: open

It doesn't seem possible to use anything in `flags` as `makeWatchFor` only uses `watch_for`. It would seem like the fix would be changing https://github.com/coolaj86/node-inotify-plusplus/blob/master/lib/inotify%2B%2B.js#L160 to

if (watch_for[key]) {
mask |= watch_for[key];
}
else if (flags[key]) {
mask |= flags[key];
}

but I don't know if that would have any other consequences.