Miquel Àngel Román
11/08/2021, 8:55 AMPaul Woitaschek
11/08/2021, 3:33 PMMiquel Àngel Román
11/08/2021, 4:03 PMHanno
11/08/2021, 6:18 PMno
11/08/2021, 6:57 PMMiquel Àngel Román
11/08/2021, 8:54 PM./gradlew build -t
so the run task hot-reloads code once there's a change.
I wanted to have a single task that launches these three processes together and once that I Ctrl+C out of the terminal; to kill these three child processes.
With Make I'd do something like the following:
dev-db_bg:
docker-compose -f docker-compose.dev.yml up &
watch_bg:
./gradlew build -t &
start-dev: dev-db_bg watch_bg
./gradlew run
Miquel Àngel Román
11/08/2021, 8:55 PMmake start-dev
Miquel Àngel Román
11/08/2021, 8:56 PMMiquel Àngel Román
11/09/2021, 9:55 PM--no-daemon
flagPaul Woitaschek
11/09/2021, 10:35 PM