diff --git a/Makefile.toml b/Makefile.toml index 5e182e0..6d47049 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -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/*" } diff --git a/README.md b/README.md index dccbfff..a071295 100644 --- a/README.md +++ b/README.md @@ -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`. +