diff --git a/doc/api/fs.md b/doc/api/fs.md index 61ef6187258e50..490e1269d23848 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1703,8 +1703,12 @@ The listener callback gets two arguments `(eventType, filename)`. `eventType` i `'rename'` or `'change'`, and `filename` is the name of the file which triggered the event. -Please note the listener callback is attached to the `'change'` event -fired by [`fs.FSWatcher`][], but they are not the same thing. +Note that on most platforms, `'rename'` is emitted whenever a filename appears +or disappears in the directory. + +Also note the listener callback is attached to the `'change'` event fired by +[`fs.FSWatcher`][], but it is not the same thing as the `'change'` value of +`eventType`. ### Caveats