diff --git a/doc/api/cli.md b/doc/api/cli.md index 0e6317cb4d3e3c..a907c6cc686bb5 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1613,6 +1613,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`