node/lib/internal/main
Dario Piotrowicz 4acb854039
watch: fix watch args not being properly filtered
currently when --watch is used, the argv arguments that
the target script receives are filtered so that they don't
include watch related arguments, however the current
filtering logic is incorrect and it causes some watch values
to incorrectly pass the filtering, the changes here address
such issue

PR-URL: https://github.com/nodejs/node/pull/57936
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2025-05-05 15:08:04 +00:00
..
check_syntax.js module: remove --experimental-default-type 2024-12-02 22:43:55 +00:00
embedding.js sea: suppress builtin warning with disableExperimentalSEAWarning option 2025-02-17 19:42:17 -08:00
eval_stdin.js lib: add typescript support to STDIN eval 2024-12-29 22:42:51 +00:00
eval_string.js module: support eval with ts syntax detection 2024-12-24 16:48:02 +00:00
inspect.js lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00
mksnapshot.js src: fixup Error.stackTraceLimit during snapshot building 2024-09-30 15:05:12 +00:00
print_help.js bootstrap: print --help message using console.log 2024-05-12 21:43:13 +02:00
prof_process.js lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00
repl.js module: print amount of load time of a cjs module 2024-05-30 16:58:59 +00:00
run_main_module.js module: remove --experimental-default-type 2024-12-02 22:43:55 +00:00
test_runner.js test_runner: add 'test:summary' event 2024-09-21 17:41:52 +00:00
watch_mode.js watch: fix watch args not being properly filtered 2025-05-05 15:08:04 +00:00
worker_thread.js worker: add eval ts input 2025-01-03 09:49:21 +00:00