summaryrefslogtreecommitdiff
path: root/cli/tools/serve.rs
diff options
context:
space:
mode:
authorHasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com>2024-11-16 16:59:31 +0200
committerGitHub <noreply@github.com>2024-11-16 15:59:31 +0100
commitabf06eb87f10ebed93b39948213dccfe086bd0fa (patch)
treef67a1d5f6f0ba8ec7ff666f1029fa225978b242c /cli/tools/serve.rs
parent768c5ea2bb2a927455577a29f0761425593aea98 (diff)
feat(watch): log which file changed on HMR or watch change (#25801)
Closes #25504
Diffstat (limited to 'cli/tools/serve.rs')
-rw-r--r--cli/tools/serve.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tools/serve.rs b/cli/tools/serve.rs
index e3f9e94f8..d7989140a 100644
--- a/cli/tools/serve.rs
+++ b/cli/tools/serve.rs
@@ -151,7 +151,8 @@ async fn serve_with_watch(
!watch_flags.no_clear_screen,
),
WatcherRestartMode::Automatic,
- move |flags, watcher_communicator, _changed_paths| {
+ move |flags, watcher_communicator, changed_paths| {
+ watcher_communicator.show_path_changed(changed_paths.clone());
Ok(async move {
let factory = CliFactory::from_flags_for_watcher(
flags,