1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-12-23 18:01:23 +00:00

Switch back to cargo-watch as bacon is broken

This commit is contained in:
Felix Ableitner 2024-10-14 12:31:46 +02:00
parent a01d6cad52
commit 04779e757d
2 changed files with 2 additions and 3 deletions

View file

@ -1,3 +1,2 @@
[federation]
# necessary for auth cookie to work
domain = "127.0.0.1:8080"

View file

@ -9,7 +9,7 @@ killall trunk || true
# 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 &
CARGO_TARGET_DIR=target/frontend trunk serve -w src/frontend/ -w assets/ --proxy-backend http://$IBIS__BIND &
# start backend, with separate target folder to avoid rebuilds from arch change
bacon -j run
cargo watch -x run
)