forgejo/build/watch.sh

9 lines
150 B
Bash
Raw Normal View History

#!/bin/bash
set -euo pipefail
make --no-print-directory watch-frontend &
make --no-print-directory watch-backend &
trap 'kill $(jobs -p)' EXIT
wait