From b8556ad4252a0b4a887e75f48da14e6989e38c16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Guinzburg?= Date: Wed, 30 Oct 2024 12:01:58 +0100 Subject: [PATCH 1/2] 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`. --- docs/local-run.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/local-run.mdx b/docs/local-run.mdx index 5a8fd52..315c1f4 100644 --- a/docs/local-run.mdx +++ b/docs/local-run.mdx @@ -63,9 +63,9 @@ To live reload your Shuttle app when you save a file, you can use [cargo-watch]( ```bash # This will e(x)ecute `shuttle run` when you save a file. -cargo watch -x 'shuttle run' +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` ``` From 0e49b1f743b9b336075ca08768c808a04ad96536 Mon Sep 17 00:00:00 2001 From: jonaro00 <54029719+jonaro00@users.noreply.github.com> Date: Wed, 30 Oct 2024 13:52:50 +0100 Subject: [PATCH 2/2] nit --- docs/local-run.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/local-run.mdx b/docs/local-run.mdx index 315c1f4..359f8c1 100644 --- a/docs/local-run.mdx +++ b/docs/local-run.mdx @@ -62,7 +62,7 @@ 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. +# 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 -qcs 'shuttle run'