live reload server
This commit is contained in:
parent
77eae861fa
commit
e9018b84c0
2 changed files with 7 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
/target
|
||||
/test-config
|
||||
.trigger
|
||||
|
|
6
watch.sh
Executable file
6
watch.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
(
|
||||
trap 'kill 0' SIGINT
|
||||
cargo watch -x check -s 'touch .trigger' &
|
||||
cargo watch --no-vcs-ignores -w .trigger -x "run -- --config-dir test-config watch"
|
||||
)
|
Loading…
Add table
Reference in a new issue