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