summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-08-11 23:10:55 +0100
committerGitHub <noreply@github.com>2024-08-12 00:10:55 +0200
commit004b74c8c65a492a15a7538f71d44a92a86675fa (patch)
tree3a6388b688ac084d92dd77b2c81d73117d6adca7 /tests
parentb61fd622a5facc0ec29a8c3b04289ff5354ae03f (diff)
feat: Rename --unstable-hmr to --watch-hmr (#24975)
This commit stabilizes HMR functionality and renames `--unstable-hmr` to `--watch-hmr`. The `--unstable-hmr` flag is still working, but hidden from the help output. It will be removed in Deno 2. Once https://github.com/denoland/deno/pull/24958 lands we should improve grouping of `--watch` and `--watch-hmr` flags.
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/watcher_tests.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/integration/watcher_tests.rs b/tests/integration/watcher_tests.rs
index bb757eb35..3cec2f442 100644
--- a/tests/integration/watcher_tests.rs
+++ b/tests/integration/watcher_tests.rs
@@ -1675,7 +1675,7 @@ console.log("Listening...")
let mut child = util::deno_cmd()
.current_dir(t.path())
.arg("run")
- .arg("--unstable-hmr")
+ .arg("--watch-hmr")
.arg("--allow-net")
.arg("-L")
.arg("debug")
@@ -1748,7 +1748,7 @@ export function foo() {
let mut child = util::deno_cmd()
.current_dir(t.path())
.arg("run")
- .arg("--unstable-hmr")
+ .arg("--watch-hmr")
.arg("-L")
.arg("debug")
.arg(&file_to_watch)
@@ -1806,7 +1806,7 @@ export function foo() {
let mut child = util::deno_cmd()
.current_dir(t.path())
.arg("run")
- .arg("--unstable-hmr")
+ .arg("--watch-hmr")
.arg("-L")
.arg("debug")
.arg(&file_to_watch)
@@ -1871,7 +1871,7 @@ export function foo() {
let mut child = util::deno_cmd()
.current_dir(t.path())
.arg("run")
- .arg("--unstable-hmr")
+ .arg("--watch-hmr")
.arg("-L")
.arg("debug")
.arg(&file_to_watch)