diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-08-11 23:10:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-12 00:10:55 +0200 |
commit | 004b74c8c65a492a15a7538f71d44a92a86675fa (patch) | |
tree | 3a6388b688ac084d92dd77b2c81d73117d6adca7 /cli/tools | |
parent | b61fd622a5facc0ec29a8c3b04289ff5354ae03f (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 'cli/tools')
-rw-r--r-- | cli/tools/run/hmr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/run/hmr.rs b/cli/tools/run/hmr.rs index 4ca9ee8b9..6ccf8e344 100644 --- a/cli/tools/run/hmr.rs +++ b/cli/tools/run/hmr.rs @@ -117,7 +117,7 @@ impl crate::worker::HmrRunner for HmrRunner { // If after filtering there are no paths it means it's either a file // we can't HMR or an external file that was passed explicitly to - // `--unstable-hmr=<file>` path. + // `--watch-hmr=<file>` path. if filtered_paths.is_empty() { let _ = self.watcher_communicator.force_restart(); continue; |