From 6d68ba128dd001f57b2677138ce9a249abdbbd69 Mon Sep 17 00:00:00 2001 From: rhysd Date: Thu, 2 Nov 2023 22:55:28 +0900 Subject: [PATCH] add `--why` to `cargo watch` commands --- .cargo/config.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 9553df9..0a70d3d 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,3 @@ [alias] -watch-check = ["watch", "-x", "clippy --features=search,termwiz --examples --tests", "-x", "clippy --features tuirs-crossterm,search --no-default-features --examples --tests"] -watch-test = ["watch", "-x", "test --features=search,termwiz", "-w", "src", "-w", "tests"] +watch-check = ["watch", "--why", "-x", "clippy --features=search,termwiz --examples --tests", "-x", "clippy --features tuirs-crossterm,search --no-default-features --examples --tests"] +watch-test = ["watch", "--why", "-x", "test --features=search,termwiz", "-w", "src", "-w", "tests"]