dignifiedquire / dignifiedquire/node-inotifyr
How do I detect a file moving OUT of watched dir?
Open
investigate
- Dominant language
- CoffeeScript
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm trying to detect the case where a file is moved out of the watched directory. This operation generates one `move_from` event and no `move_to` events.
However, I cannot think of a way to definitively distinguish a standalone `move_from` event from a paired one, other than waiting some amount of time for a companion `move_to` event to fire, which is not ideal for obvious reasons. Is there a better way to do this?
I can look into modifying the code if need be - just need a starting point.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.