mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-22 00:18:10 -07:00
server: update run.sh
This commit is contained in:
+6
-2
@@ -1,7 +1,11 @@
|
||||
if cargo watch --help &> /dev/null; then
|
||||
TRIGGER="./in/datasets_len.txt"
|
||||
echo "0" > $TRIGGER
|
||||
cargo watch --no-vcs-ignores -w "./src" -w "./run.sh" -w "$TRIGGER" -x "run -r"
|
||||
|
||||
if [ ! -f "$TRIGGER" ]; then
|
||||
echo "0" > $TRIGGER
|
||||
fi
|
||||
|
||||
cargo watch --no-vcs-ignores -w "./src" -w "$TRIGGER" -x "run -r"
|
||||
else
|
||||
cargo run -r
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user