Skip to content

Commit f13d864

Browse files
committed
simplify
1 parent a2cecef commit f13d864

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tools/watch.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
#!/bin/bash
22
set -euo pipefail
3-
trap "kill 0" SIGINT SIGTERM SIGQUIT
43

54
make watch-frontend &
6-
PIDS+="$! ";
75
make watch-backend &
8-
PIDS+="$!";
96

10-
trap "kill ${PIDS[*]}" SIGINT SIGTERM SIGQUIT
11-
wait $PIDS
7+
trap 'kill $(jobs -p)' EXIT
8+
wait

0 commit comments

Comments
 (0)