January 2019
Intermediate to advanced
520 pages
14h 32m
English
When you're working on developing web servers, it's useful to have instant access to compiled and running applications. It's tiresome to have to restart cargo run manually whenever you change the code. I recommend that you install and use the cargo-watch subcommand on cargo. This will monitor the changes made to the files of your project and restart the other commands you have chosen.
To install cargo-watch, perform the following steps:
cargo install cargo-watch
cargo watch -x "run"
You can add extra arguments to the run command between quotes or add extra arguments after the -- characters.
Read now
Unlock full access