diff --git a/README.md b/README.md index 9a928f5..0dc7933 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,14 @@ yewprint = { git = "https://github.com/cecton/yewprint.git", branch = "main" } ./dev.sh ``` +#### Troubleshooting + + - I can't install `cargo-watch` on OSX. + + This happens on some machines. Try installing the + [pre-compiled binary](https://github.com/passcod/cargo-watch/releases) + instead. + Roadmap ------- diff --git a/dev.sh b/dev.sh index 475d8f8..58096e2 100755 --- a/dev.sh +++ b/dev.sh @@ -1,9 +1,3 @@ #!/bin/sh -if [[ "$OSTYPE" == "darwin"* ]]; then - # if current OS is `darwin` then avoid running `cargo watch` by default - # refer to: https://github.com/passcod/cargo-watch/issues/129 - ./build.sh --dev -- --features dev && simple-http-server -i --nocache --cors -else - exec cargo watch -s './build.sh --dev -- --features dev && simple-http-server -i --nocache --cors' -w src -fi +exec cargo watch -s './build.sh --dev -- --features dev && simple-http-server -i --nocache --cors' -w src