From dd6bf20e8ff044eb172be784bc6798d67b0d4301 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 c31a7279f376d1..adcf875fc5deed 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -3996,6 +3996,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.