mirror of
https://github.com/yewprint/yewprint
synced 2024-11-22 03:23:03 +00:00
Replace exception handling in dev.sh by help in README
This commit is contained in:
parent
12280a2aea
commit
b0284b63cb
2 changed files with 9 additions and 7 deletions
|
@ -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
|
||||
-------
|
||||
|
||||
|
|
8
dev.sh
8
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
|
||||
|
|
Loading…
Reference in a new issue