# Intall: cargo watch
cargo install cargo-watch
# And then run:
cargo watch -x run
# And to watch changes in only the src folder and clear the console use:
cargo watch -c -w src -x run
# More at https://github.com/watchexec/cargo-watch#readme
# Intall: cargo watch
cargo install cargo-watch
# And then run:
cargo watch -x run
# And to watch changes in only the src folder and clear the console use:
cargo watch -c -w src -x run
# More at https://github.com/watchexec/cargo-watch#readme