mirror of https://github.com/Nutomic/ibis.git
fix killing watch script
This commit is contained in:
parent
7c2d3baadf
commit
cbb24ba3d8
|
@ -5,7 +5,7 @@ IBIS__BIND="${IBIS_BIND:-"127.0.0.1:8081"}"
|
||||||
|
|
||||||
# run processes in parallel
|
# run processes in parallel
|
||||||
# https://stackoverflow.com/a/52033580
|
# https://stackoverflow.com/a/52033580
|
||||||
(trap 'kill 0' SIGINT;
|
(trap 'kill 0' INT;
|
||||||
# start frontend
|
# start frontend
|
||||||
CARGO_TARGET_DIR=target/frontend trunk serve -w src/frontend/ --proxy-backend http://$IBIS__BIND &
|
CARGO_TARGET_DIR=target/frontend trunk serve -w src/frontend/ --proxy-backend http://$IBIS__BIND &
|
||||||
# start backend, with separate target folder to avoid rebuilds from arch change
|
# start backend, with separate target folder to avoid rebuilds from arch change
|
||||||
|
|
Loading…
Reference in New Issue