From 004b74c8c65a492a15a7538f71d44a92a86675fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 11 Aug 2024 23:10:55 +0100 Subject: 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. --- cli/tools/run/hmr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tools') 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=` path. + // `--watch-hmr=` path. if filtered_paths.is_empty() { let _ = self.watcher_communicator.force_restart(); continue; -- cgit v1.2.3