Skip to content

Commit aa546e4

Browse files
MoLowrdw-msft
authored andcommitted
watch: mark as stable
PR-URL: nodejs#52074 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent f321271 commit aa546e4

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

doc/api/cli.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2329,14 +2329,17 @@ added:
23292329
- v18.11.0
23302330
- v16.19.0
23312331
changes:
2332+
- version: REPLACEME
2333+
pr-url: https://github.com/nodejs/node/pull/52074
2334+
description: Watch mode is now stable.
23322335
- version:
23332336
- v19.2.0
23342337
- v18.13.0
23352338
pr-url: https://github.com/nodejs/node/pull/45214
23362339
description: Test runner now supports running in watch mode.
23372340
-->
23382341

2339-
> Stability: 1 - Experimental
2342+
> Stability: 2 - Stable
23402343
23412344
Starts Node.js in watch mode.
23422345
When in watch mode, changes in the watched files cause the Node.js process to
@@ -2358,9 +2361,13 @@ node --watch index.js
23582361
added:
23592362
- v18.11.0
23602363
- v16.19.0
2364+
changes:
2365+
- version: REPLACEME
2366+
pr-url: https://github.com/nodejs/node/pull/52074
2367+
description: Watch mode is now stable.
23612368
-->
23622369

2363-
> Stability: 1 - Experimental
2370+
> Stability: 2 - Stable
23642371
23652372
Starts Node.js in watch mode and specifies what paths to watch.
23662373
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)