Skip to content

Commit

Permalink
docs: local-run.mdx still suggests running shuttle as cargo command i…
Browse files Browse the repository at this point in the history
…nstead of shell command (#304)

* Update local-run.mdx

Local run docs still use `cargo watch -x 'shuttle run'`, which translates to `cargo shuttle run`; instead of using `cargo watch-s 'shuttle run'`, which translates to `shuttle run`.

* nit

---------

Co-authored-by: jonaro00 <[email protected]>
  • Loading branch information
tomasguinzburg and jonaro00 authored Oct 30, 2024
1 parent 3b2b102 commit d3070d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/local-run.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ Here are some small tips and tricks to boost your productivity when developing l
To live reload your Shuttle app when you save a file, you can use [cargo-watch](https://github.com/watchexec/cargo-watch):

```bash
# This will e(x)ecute `shuttle run` when you save a file.
cargo watch -x 'shuttle run'
# This will execute `shuttle run` when you save a file.
cargo watch -s 'shuttle run'
# This will also (q)uietly (c)lear the console between runs.
cargo watch -qcx 'shuttle run'
cargo watch -qcs 'shuttle run'

# There are many other helpful options, see `cargo watch --help`
```
Expand Down

0 comments on commit d3070d9

Please sign in to comment.