You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 .
I have read this information from this link https://nodejs.org/api/all.html#fs_fs_watch_filename_options_listener .
Activity
seishun commentedon Oct 13, 2016
'rename' is emitted whenever a filename appears or disappears. Maybe the docs could be a bit clearer about this.
sonalbhadani496 commentedon Oct 16, 2016
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 .
I have read this information from this link https://nodejs.org/api/all.html#fs_fs_watch_filename_options_listener .
no1melman commentedon Oct 19, 2016
@sonalbhadani496 that isn't quite true, the docs do state:
The
eventTypeI see has this:Which I agree could probably do with @seishun explanation along with it.
doc: clarify eventType in fs.watch
doc: clarify eventType in fs.watch
doc: clarify eventType in fs.watch
doc: clarify eventType in fs.watch