redirect stderr to stdout

This commit is contained in:
liquidex 2024-02-04 16:17:04 +01:00
parent 0315a63c66
commit 80f9cfdee6

View file

@ -10,7 +10,7 @@ mkfifo $reload_fifo
reload() { reload() {
# This just kind of assumes regeneration doesn't take too long. # This just kind of assumes regeneration doesn't take too long.
kill "$treehouse_pid" kill "$treehouse_pid"
cargo run --release -- serve --port 8082 > "$build_log" & cargo run --release -- serve --port 8082 > "$build_log" 2>&1 &
treehouse_pid="$!" treehouse_pid="$!"
} }