Skip to content

Commit 5a92223

Browse files
MoLowmarco-ippolito
authored andcommitted
watch: mark as stable
PR-URL: #52074 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent 2d6b199 commit 5a92223

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

doc/api/cli.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2256,14 +2256,17 @@ added:
22562256
- v18.11.0
22572257
- v16.19.0
22582258
changes:
2259+
- version: REPLACEME
2260+
pr-url: https://github.com/nodejs/node/pull/52074
2261+
description: Watch mode is now stable.
22592262
- version:
22602263
- v19.2.0
22612264
- v18.13.0
22622265
pr-url: https://github.com/nodejs/node/pull/45214
22632266
description: Test runner now supports running in watch mode.
22642267
-->
22652268

2266-
> Stability: 1 - Experimental
2269+
> Stability: 2 - Stable
22672270
22682271
Starts Node.js in watch mode.
22692272
When in watch mode, changes in the watched files cause the Node.js process to
@@ -2285,9 +2288,13 @@ node --watch index.js
22852288
added:
22862289
- v18.11.0
22872290
- v16.19.0
2291+
changes:
2292+
- version: REPLACEME
2293+
pr-url: https://github.com/nodejs/node/pull/52074
2294+
description: Watch mode is now stable.
22882295
-->
22892296

2290-
> Stability: 1 - Experimental
2297+
> Stability: 2 - Stable
22912298
22922299
Starts Node.js in watch mode and specifies what paths to watch.
22932300
When in watch mode, changes in the watched paths cause the Node.js process to

lib/internal/main/watch_mode.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const {
1818
exitCodes: { kNoFailure },
1919
} = internalBinding('errors');
2020
const { getOptionValue } = require('internal/options');
21-
const { emitExperimentalWarning } = require('internal/util');
2221
const { FilesWatcher } = require('internal/watch_mode/files_watcher');
2322
const { green, blue, red, white, clear } = require('internal/util/colors');
2423

@@ -117,7 +116,6 @@ async function restart() {
117116
}
118117
}
119118

120-
emitExperimentalWarning('Watch mode');
121119
start();
122120
watcher
123121
.on('changed', restart)

0 commit comments

Comments
 (0)