hotreload: don't die on build errors
This commit is contained in:
parent
e5f5759871
commit
b8a759b141
|
@ -5,8 +5,10 @@ PID=$(pidof delphi.market)
|
|||
set -e
|
||||
|
||||
function restart_server() {
|
||||
set +e
|
||||
[[ -z "$PID" ]] || kill -15 $PID
|
||||
ENV=development make build -B
|
||||
set -e
|
||||
./delphi.market >> server.log 2>&1 &
|
||||
PID=$(pidof delphi.market)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue