summaryrefslogtreecommitdiff
path: root/cli/util/file_watcher.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-01-30 16:22:17 +0100
committerGitHub <noreply@github.com>2023-01-30 16:22:17 +0100
commitd318e38b76c8174d48fddfb99064401050cd8333 (patch)
treebd49caad1dcc6507280b8ebf4b7f68e2ff9c5c78 /cli/util/file_watcher.rs
parent3035dee9f14402f57d42ff0b362152140b4dca13 (diff)
Revert "fix(watch): preserve `ProcState::file_fetcher` between restarts (#15466) (#17591)
This reverts commit 3545bff678f20c3fdf17fe6b26f96cf1b74f917c.
Diffstat (limited to 'cli/util/file_watcher.rs')
-rw-r--r--cli/util/file_watcher.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/util/file_watcher.rs b/cli/util/file_watcher.rs
index 05415f2a6..cb8ee419a 100644
--- a/cli/util/file_watcher.rs
+++ b/cli/util/file_watcher.rs
@@ -322,13 +322,13 @@ where
continue;
},
_ = operation_future => {
- consume_paths_to_watch(&mut watcher, &mut paths_to_watch_receiver);
// TODO(bartlomieju): print exit code here?
info!(
"{} {} finished. Restarting on file change...",
colors::intense_blue("Watcher"),
job_name,
);
+ consume_paths_to_watch(&mut watcher, &mut paths_to_watch_receiver);
},
};