From d318e38b76c8174d48fddfb99064401050cd8333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 30 Jan 2023 16:22:17 +0100 Subject: Revert "fix(watch): preserve `ProcState::file_fetcher` between restarts (#15466) (#17591) This reverts commit 3545bff678f20c3fdf17fe6b26f96cf1b74f917c. --- cli/util/file_watcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/util') 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); }, }; -- cgit v1.2.3