summaryrefslogtreecommitdiff
path: root/cli/tools/serve.rs
diff options
context:
space:
mode:
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,