-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
watch always fires rename event #9082
Comments
'rename' is emitted whenever a filename appears or disappears. Maybe the docs could be a bit clearer about this. |
fs.watch , In different operating system this functionality is know by different names . This is not 100 percent consistent in Windows 10 os , thats why the event type is always renamed . |
@sonalbhadani496 that isn't quite true, the docs do state:
The
Which I agree could probably do with @seishun explanation along with it. |
Running the below code, the eventType will always be
rename
whether I delete, add file...:The text was updated successfully, but these errors were encountered: