feat: simple dev.sh script to launch development environment

This commit is contained in:
2025-11-08 12:49:03 +01:00
parent 5a7beabc9d
commit 8f39655da2
3 changed files with 25 additions and 2 deletions

24
dev.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
trap ctrl_c INT
function ctrl_c() {
stop
exit 0
}
function stop() {
kill %3
kill %2
kill %1
wait
}
npm run watch &
./gradlew classes --continuous &
./gradlew bootRun &
read -rp "Press Enter to stop"
stop