Skip to content

Commit

Permalink
doc: update fs.watch() availability for IBM i
Browse files Browse the repository at this point in the history
Add a line that IBM i does not support `fs.watch()`.

Fixes: #34607
Refs: https://nodejs.org/docs/latest/api/fs.html#fs_availability

PR-URL: #34611
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
iandrc authored and jasnell committed Aug 7, 2020
1 parent 0fd7369 commit 0dff5bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4016,6 +4016,7 @@ to be notified of filesystem changes.
* On SunOS systems (including Solaris and SmartOS), this uses [`event ports`][].
* On Windows systems, this feature depends on [`ReadDirectoryChangesW`][].
* On Aix systems, this feature depends on [`AHAFS`][], which must be enabled.
* On IBM i systems, this feature is not supported.

If the underlying functionality is not available for some reason, then
`fs.watch()` will not be able to function and may thrown an exception.
Expand Down

0 comments on commit 0dff5bc

Please sign in to comment.