Show CLI version in debug logs
This commit is contained in:
parent
da22d34274
commit
aeb699b658
|
@ -1,6 +1,7 @@
|
|||
use std::env::var;
|
||||
|
||||
use miette::{IntoDiagnostic, Result};
|
||||
use tracing::debug;
|
||||
use watchexec::{event::Event, Watchexec};
|
||||
|
||||
mod args;
|
||||
|
@ -47,6 +48,8 @@ async fn main() -> Result<()> {
|
|||
}
|
||||
}
|
||||
|
||||
debug!(version=%env!("CARGO_PKG_VERSION"), "constructing Watchexec from CLI");
|
||||
|
||||
let init = config::init(&args)?;
|
||||
let mut runtime = config::runtime(&args)?;
|
||||
runtime.filterer(if tagged_filterer {
|
||||
|
|
Loading…
Reference in New Issue