Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

fs.watch on Windows 7: Renaming/deleting a file does not emit event for original path #1479

Open
jorangreef opened this issue Sep 16, 2014 · 0 comments
Labels

Comments

@jorangreef
Copy link

From: nodejs/node-v0.x-archive#8372

When renaming "a.txt" to "b.txt" I get the following events from fs.watch on Windows 7 on Parallels:

rename null
rename b.txt
change b.txt

Subsequently deleting "b.txt" just gives:

rename null

According to Ben, the null rename event is the FILE_ACTION_RENAMED_OLD_NAME event. The filename is filtered out but it's not for feature parity with inotify.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants