summaryrefslogtreecommitdiff
path: root/cli/tools/bench/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/bench/mod.rs')
-rw-r--r--cli/tools/bench/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tools/bench/mod.rs b/cli/tools/bench/mod.rs
index eb400442e..70551a767 100644
--- a/cli/tools/bench/mod.rs
+++ b/cli/tools/bench/mod.rs
@@ -409,14 +409,14 @@ pub async fn run_benchmarks_with_watch(
) -> Result<(), AnyError> {
file_watcher::watch_func(
flags,
- file_watcher::PrintConfig {
- job_name: "Bench".to_string(),
- clear_screen: bench_flags
+ file_watcher::PrintConfig::new(
+ "Bench",
+ bench_flags
.watch
.as_ref()
.map(|w| !w.no_clear_screen)
.unwrap_or(true),
- },
+ ),
move |flags, watcher_communicator, changed_paths| {
let bench_flags = bench_flags.clone();
Ok(async move {