I am watching a directory and subscribed to any files that are added. When I get a subscribe event, I move that file to another directory where I do some stuff.
Issue: When I copy files into that directory, I sometimes get this error in finder:
The operation can’t be completed because one or more required items can’t be found. (Error code -43)
Is watchman not waiting for the file to completely copy over before it triggers the subscribe event? I used to use a npm module called 'chokidar' and they had an option that would wait until the file closes before they emit any change/add/delete events. Does fb-watchman have something similar?
thank you