diff --git a/Makefile.toml b/Makefile.toml index dce7b64..5e182e0 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -33,6 +33,12 @@ description = "Build, and create wasms" workspace = false dependencies = ["build", "create_wasm"] +[tasks.watch] +description = "watch code, build, and create wasms" +workspace = false +dependencies = ["build", "create_wasm"] +watch = { ignore_pattern="pkg/*" } + [tasks.all_release] description = "Build, and create wasms, with the --release flag" workspace = false @@ -76,4 +82,4 @@ clear = true workspace = false install_crate = { crate_name = "wasm-pack", binary = "wasm-pack", test_arg = "-V" } command = "wasm-pack" -args = ["test", "--firefox", "--headless", "--", "--lib", "${@}"] \ No newline at end of file +args = ["test", "--firefox", "--headless", "--", "--lib", "${@}"]