1
0
mirror of https://github.com/actix/actix-website synced 2024-11-27 18:12:57 +01:00

Simplify cargo watch command

taken from #278
This commit is contained in:
Rob Ede 2022-07-30 18:10:39 +01:00 committed by GitHub
parent bb42ca002c
commit f33180bf8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,8 +7,8 @@ title: Auto-Reloading
During development it can be very handy to have cargo automatically recompile the code on changes. This can be accomplished very easily by using [`cargo-watch`]. During development it can be very handy to have cargo automatically recompile the code on changes. This can be accomplished very easily by using [`cargo-watch`].
```sh ```sh
cargo watch -x 'run --bin app' cargo watch -x run
``` ```
## Historical Note ## Historical Note