Closed
Description
Quoting the documentation for fs.watch from https://nodejs.org/api/fs.html#fs_filename_argument
Providing filename argument in the callback is only supported on Linux and Windows.
Filename is also available on macOS - we could update the documentation to reflect this.