Author:
Hash:
Timestamp:
+3 -1 +/-1 browse
Kevin Schoon [me@kevinschoon.com]
57f852c8b1173a74771760851e5dc88a64e805bb
Sun, 04 Feb 2024 15:17:21 +0000 (1.4 years ago)
1 | diff --git a/scripts/watch.sh b/scripts/watch.sh |
2 | index 6ed264e..bb1e75d 100755 |
3 | --- a/scripts/watch.sh |
4 | +++ b/scripts/watch.sh |
5 | @@ -5,8 +5,10 @@ COMPONENT="$1" |
6 | |
7 | IGNORE_FLAGS="-i ayllu-build/logs -i test" |
8 | |
9 | + PACKAGE_FLAGS="" |
10 | + |
11 | if [ -n "$COMPONENT" ] ; then |
12 | PACKAGE_FLAGS="--package=${COMPONENT}" |
13 | fi |
14 | |
15 | - cargo watch "${IGNORE_FLAGS}" -s "cargo run \"${PACKAGE_FLAGS}\" -- serve" |
16 | + cargo watch "${IGNORE_FLAGS}" -s "cargo run $PACKAGE_FLAGS -- serve" |