cargo-watch

Watches over your Cargo project's source and runs commands on changes

brewmacoslinux
Try with needOr install directly
Source

About

Watches over your Cargo project's source

Commands

cargo-watch

Examples

Watch and run tests automatically on file changes$ cargo watch -x test
Watch and build the project, clearing screen between runs$ cargo watch -c -x build
Watch specific directories and run a custom command$ cargo watch -w src -x 'run -- --arg value'