From a13369bf3b2c055799022ed826fdffb380a940f1 Mon Sep 17 00:00:00 2001 From: DavidOConnor Date: Fri, 31 May 2019 17:40:20 -0400 Subject: [PATCH] Specify a working version of cargo-watch, to avoid having to explicitly install it --- Makefile.toml | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index 6d47049..dfbd883 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -34,10 +34,10 @@ workspace = false dependencies = ["build", "create_wasm"] [tasks.watch] -description = "Build, and create wasms, then watch files for changes" +description = "Build, create wasms, and watch/recompile files for changes" workspace = false dependencies = ["build", "create_wasm"] -watch = { ignore_pattern="pkg/*" } +watch = { ignore_pattern="pkg/*", version="7.2.1" } [tasks.all_release] description = "Build, and create wasms, with the --release flag" diff --git a/README.md b/README.md index a071295..e5967af 100644 --- a/README.md +++ b/README.md @@ -14,6 +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`. +If you'd like the compiler automatically check for changes, recompiling as +needed, run `cargo make watch` instead of `cargo make all`.