watchexec
Execute commands when watched files change
Miscellaneous
Rust
替代 inotifywait, fswatch
watchexec watches a path for changes and runs a command when modifications are detected. Supports complex filtering and debouncing.
安装
brew
brew install watchexec
cargo
cargo install watchexec-cli
相关工具
just
A handy way to save and run project-specific commands
entrRun arbitrary commands when files change
miseDev tools, env vars, and task runner — polyglot rtx repla...
shfmtA shell script formatter supporting POSIX sh, Bash, and mksh
typosSource code spell checker that catches typos in code and ...
slA steam locomotive runs when you mistype ls
uvAn extremely fast Python package installer and resolver w...
ShellCheckA static analysis tool for shell scripts