watchexec-cli 1.21.1

Executes commands in response to file modifications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cfg(target_env = "musl")]
#[global_allocator]
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;

#[tokio::main]
async fn main() -> miette::Result<()> {
	watchexec_cli::run().await?;

	if std::process::id() == 1 {
		std::process::exit(0);
	}

	Ok(())
}