1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-10-26 12:19:52 +00:00
ibis/scripts/watch.sh
Nutomic fdda0f584a
Upgrade deps (#60)
* Upgrade dependencies

* fix tests

* ci config
2024-10-02 14:47:44 +02:00

13 lines
369 B
Bash
Executable file

#!/bin/sh
set -e
IBIS__BIND="${IBIS_BIND:-"127.0.0.1:8081"}"
# run processes in parallel
# https://stackoverflow.com/a/52033580
(trap 'kill 0' INT;
# start frontend
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
bacon -j run
)