From 04779e757dc772fa28702d456b401e69ebf73533 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Mon, 14 Oct 2024 12:31:46 +0200 Subject: [PATCH] Switch back to cargo-watch as bacon is broken --- config/config.toml | 1 - scripts/watch.sh | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/config.toml b/config/config.toml index 457f475..3f2fea5 100644 --- a/config/config.toml +++ b/config/config.toml @@ -1,3 +1,2 @@ [federation] -# necessary for auth cookie to work domain = "127.0.0.1:8080" diff --git a/scripts/watch.sh b/scripts/watch.sh index 04b41f3..0ec22d6 100755 --- a/scripts/watch.sh +++ b/scripts/watch.sh @@ -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 )