summaryrefslogtreecommitdiff
path: root/cli/tools/test/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/test/mod.rs')
-rw-r--r--cli/tools/test/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tools/test/mod.rs b/cli/tools/test/mod.rs
index 8e29ba2cb..5e34e345f 100644
--- a/cli/tools/test/mod.rs
+++ b/cli/tools/test/mod.rs
@@ -1205,14 +1205,14 @@ pub async fn run_tests_with_watch(
file_watcher::watch_func(
flags,
- file_watcher::PrintConfig {
- job_name: "Test".to_string(),
- clear_screen: test_flags
+ file_watcher::PrintConfig::new(
+ "Test",
+ test_flags
.watch
.as_ref()
.map(|w| !w.no_clear_screen)
.unwrap_or(true),
- },
+ ),
move |flags, watcher_communicator, changed_paths| {
let test_flags = test_flags.clone();
Ok(async move {