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 <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
iandrc authored and addaleax committed Sep 22, 2020
1 parent dc6e7f8 commit 3dda55a
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 @@ -3894,6 +3894,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 3dda55a

Please sign in to comment.