Sitelet https://web.archive.org/web/20220419112326/https://github.com/nodejs/node/commit/3dda55aedf
Skip to content
Permalink
Browse files
doc: update fs.watch() availability for IBM i
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 3dda55aedf705f0ffeb25601d8cf8a29f3d9180e
Showing with 1 addition and 0 deletions.
  1. +1 −0 doc/api/fs.md
@@ -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.

0 comments on commit 3dda55a

Please sign in to comment.