mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-05 01:39:13 +01:00
e1535c74cc
* Add 'make watch' This combines frontend and backend watch into a single command that runs them in parallel on on SIGINT terminates both. Termination is not super-clean but I guess it does not have to. * move to tools/, trap more signals, remove gnu-specific flag * simplify Co-authored-by: techknowlogick <techknowlogick@gitea.io>
8 lines
108 B
Bash
8 lines
108 B
Bash
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
make watch-frontend &
|
|
make watch-backend &
|
|
|
|
trap 'kill $(jobs -p)' EXIT
|
|
wait
|