Created
April 17, 2023 03:39
-
-
Save travishorn/b971d823af3b5c714e7a0fcbaeeff99d to your computer and use it in GitHub Desktop.
Cargo Watch - Reload and run Rust code on change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cargo watch -c -w src -x run | |
# -c : Clear the terminal before each reload | |
# -w : Which files to watch | |
# -x : What command to execute | |
# cargo-watch must be installed. | |
cargo install cargo-watch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment