make daemon output build logs to treehouse_build.log
This commit is contained in:
parent
534c6f9088
commit
734f1e096b
|
@ -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="$!"
|
||||
|
|
Loading…
Reference in a new issue