From b8b9eea548ee117e9487b1718a101610fd8aea28 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Tue, 10 Dec 2024 09:42:41 +0000 Subject: [PATCH] restore checking to test --watch --- cli/tools/test/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cli/tools/test/mod.rs b/cli/tools/test/mod.rs index caf1a8dd29..4899a89063 100644 --- a/cli/tools/test/mod.rs +++ b/cli/tools/test/mod.rs @@ -1656,6 +1656,12 @@ pub async fn run_tests_with_watch( ) .await?; + file_container.check().await?; + + if workspace_test_options.no_run { + return Ok(()); + } + let factories_with_specifiers = if let Some(changed_paths) = changed_paths { file_container