Specify a working version of cargo-watch, to avoid having to explicitly install it

master
DavidOConnor 6 years ago
parent d7956f6f4a
commit a13369bf3b

@ -34,10 +34,10 @@ workspace = false
dependencies = ["build", "create_wasm"] dependencies = ["build", "create_wasm"]
[tasks.watch] [tasks.watch]
description = "Build, and create wasms, then watch files for changes" description = "Build, create wasms, and watch/recompile files for changes"
workspace = false workspace = false
dependencies = ["build", "create_wasm"] dependencies = ["build", "create_wasm"]
watch = { ignore_pattern="pkg/*" } watch = { ignore_pattern="pkg/*", version="7.2.1" }
[tasks.all_release] [tasks.all_release]
description = "Build, and create wasms, with the --release flag" description = "Build, and create wasms, with the --release flag"

@ -14,6 +14,6 @@
Run `cargo make all` in a terminal to build the app, and `cargo make serve` to start a dev server Run `cargo make all` in a terminal to build the app, and `cargo make serve` to start a dev server
on `127.0.0.0:8000`. on `127.0.0.0:8000`.
If you'd like to make the compiler automatically check for changes, recompiling as If you'd like the compiler automatically check for changes, recompiling as
needed, install Cargo-watch with `cargo install cargo-watch`, then run `cargo make watch` instead of `cargo make all`. needed, run `cargo make watch` instead of `cargo make all`.

Loading…
Cancel
Save