From 734f1e096b9578761354a799fc20115801f4c1b4 Mon Sep 17 00:00:00 2001 From: liquidev Date: Mon, 9 Dec 2024 19:58:40 +0100 Subject: [PATCH] make daemon output build logs to treehouse_build.log --- admin/daemon.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/daemon.bash b/admin/daemon.bash index 35c44aa..7182781 100755 --- a/admin/daemon.bash +++ b/admin/daemon.bash @@ -11,7 +11,7 @@ mkfifo $reload_fifo reload() { # This just kind of assumes regeneration doesn't take too long. - cargo build --release + cargo build --release > "$build_log" 2>&1 kill "$treehouse_pid" cargo run --release -- serve --port 8082 > "$build_log" 2>&1 & treehouse_pid="$!"