From 3dda55aedf705f0ffeb25601d8cf8a29f3d9180e Mon Sep 17 00:00:00 2001 From: iandrc Date: Mon, 3 Aug 2020 18:30:29 +0300 Subject: [PATCH] doc: update fs.watch() availability for IBM i Add a line that IBM i does not support `fs.watch()`. Fixes: https://github.com/nodejs/node/issues/34607 Refs: https://nodejs.org/docs/latest/api/fs.html#fs_availability PR-URL: https://github.com/nodejs/node/pull/34611 Reviewed-By: Richard Lau Reviewed-By: James M Snell --- doc/api/fs.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/fs.md b/doc/api/fs.md index 6146aa81b00285..b30499a81fdfb6 100644 --- a/doc/api/fs.md +++ b/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.