fix: forgot that was necessary

This commit is contained in:
Sylver 2024-02-11 12:59:27 +08:00
parent faae08470d
commit ef18709612
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,11 @@
#!/bin/sh
cleanup() {
pkill -P $$
}
trap cleanup EXIT HUP INT QUIT PIPE TERM ERR
(cd packages/api && npm run start) &
(cd packages/web && HOST=0.0.0.0 npm run start) &