mirror of https://github.com/sylv/micro.git
fix: forgot that was necessary
This commit is contained in:
parent
faae08470d
commit
ef18709612
|
@ -1,5 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
cleanup() {
|
||||||
|
pkill -P $$
|
||||||
|
}
|
||||||
|
|
||||||
|
trap cleanup EXIT HUP INT QUIT PIPE TERM ERR
|
||||||
|
|
||||||
(cd packages/api && npm run start) &
|
(cd packages/api && npm run start) &
|
||||||
(cd packages/web && HOST=0.0.0.0 npm run start) &
|
(cd packages/web && HOST=0.0.0.0 npm run start) &
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue