fs.watch confusing behaviors under linux.

22 views
Skip to first unread message

NStal Loit

unread,
Feb 10, 2015, 9:21:08 PM2/10/15
to nod...@googlegroups.com
`fs.watch` are not capable to tell difference between the folder change or the child change when watching the folder. 

When I have a folder `bob`,  and a file `bob/bob` under the folder.  Both unlink `bob/bob` or rmdir `bob` make the same result invoking the callback("rename","bob"); 
I create a gist to demostrate this issue.
https://gist.github.com/NStal/d2b4ce826a47fc149812

Any one has some ideas or should fire a bug report? Thanks so much.
Reply all
Reply to author
Forward
0 new messages