diff --git a/doc/api/cli.md b/doc/api/cli.md index c09066a29a1dec..988ded3d679ced 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1628,6 +1628,14 @@ This option is only supported on macOS and Windows. An `ERR_FEATURE_UNAVAILABLE_ON_PLATFORM` exception will be thrown when the option is used on a platform that does not support it. +### `--watch-preserve-output` + +Disable the clearing of the console when watch mode restarts the process. + +```console +$ node --watch --watch-preserve-output test.js +``` + ### `--zero-fill-buffers`