diff options
author | Moshe Atlow <moshe@atlow.co.il> | 2022-11-14 00:40:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 00:40:26 +0300 |
commit | 97355c74e819cf5f429efef71654697870a6416c (patch) | |
tree | 59ea07a9ae3737277ddf56422bdc7e8b08d2dc6d /doc/api/cli.md | |
parent | c5ec87c44be2257662e949a9eba46ff8f8fa5ae2 (diff) |
test_runner: support watch modemain
PR-URL: https://github.com/nodejs/node/pull/45214
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'doc/api/cli.md')
-rw-r--r-- | doc/api/cli.md | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index 1f18552dd0c..c044518c047 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1209,11 +1209,16 @@ status code 1. added: - v18.1.0 - v16.17.0 +changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/45214 + description: Test runner now supports running in watch mode. --> Starts the Node.js command line test runner. This flag cannot be combined with -`--check`, `--eval`, `--interactive`, or the inspector. See the documentation -on [running tests from the command line][] for more details. +`--watch-path`, `--check`, `--eval`, `--interactive`, or the inspector. +See the documentation on [running tests from the command line][] +for more details. ### `--test-name-pattern` @@ -1575,6 +1580,10 @@ will be chosen. <!-- YAML added: v18.11.0 +changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/45214 + description: Test runner now supports running in watch mode. --> > Stability: 1 - Experimental @@ -1608,7 +1617,7 @@ This will turn off watching of required or imported modules, even when used in combination with `--watch`. This flag cannot be combined with -`--check`, `--eval`, `--interactive`, or the REPL. +`--check`, `--eval`, `--interactive`, `--test`, or the REPL. ```console $ node --watch-path=./src --watch-path=./tests index.js |