Documented cargo make watch

master
DavidOConnor 6 years ago
parent d2c0f79c3d
commit d7956f6f4a

@ -34,7 +34,7 @@ workspace = false
dependencies = ["build", "create_wasm"]
[tasks.watch]
description = "watch code, build, and create wasms"
description = "Build, and create wasms, then watch files for changes"
workspace = false
dependencies = ["build", "create_wasm"]
watch = { ignore_pattern="pkg/*" }

@ -14,3 +14,6 @@
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`.
If you'd like to make 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`.

Loading…
Cancel
Save