Fix duplicate logs
This commit is contained in:
parent
3ac346df4f
commit
2b8ab8b51c
|
@ -12,7 +12,7 @@ function restart_server() {
|
||||||
tailwindcss -i public/css/_tw-input.css -o public/css/tailwind.css
|
tailwindcss -i public/css/_tw-input.css -o public/css/tailwind.css
|
||||||
templ generate -path server/router/pages
|
templ generate -path server/router/pages
|
||||||
go build -o delphi.market .
|
go build -o delphi.market .
|
||||||
./delphi.market >> server.log 2>&1 &
|
./delphi.market 2>&1 &
|
||||||
templ generate -path server/router/pages
|
templ generate -path server/router/pages
|
||||||
PID=$(pidof delphi.market)
|
PID=$(pidof delphi.market)
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,6 @@ function cleanup() {
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
|
|
||||||
restart
|
restart
|
||||||
tail -f server.log &
|
|
||||||
|
|
||||||
while inotifywait -r -e modify db/ env/ lib/ lnd/ public/ server/; do
|
while inotifywait -r -e modify db/ env/ lib/ lnd/ public/ server/; do
|
||||||
restart
|
restart
|
||||||
|
|
Loading…
Reference in New Issue