diff --git a/doc/api/fs.md b/doc/api/fs.md index e867e994349945..15723a2a288752 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -2405,10 +2405,10 @@ this improves the usability of file watching. This is expected behavior. -Providing `filename` argument in the callback is only supported on Linux and -Windows. Even on supported platforms, `filename` is not always guaranteed to -be provided. Therefore, don't assume that `filename` argument is always -provided in the callback, and have some fallback logic if it is null. +Providing `filename` argument in the callback is only supported on Linux, +macOS, and Windows. Even on supported platforms, `filename` is not always +guaranteed to be provided. Therefore, don't assume that `filename` argument is +always provided in the callback, and have some fallback logic if it is null. ```js fs.watch('somedir', (eventType, filename) => {