15 lines
294 B
Bash
Executable file
15 lines
294 B
Bash
Executable file
#!/bin/sh
|
|
|
|
export TEMPL_EXPERIMENT=rawgo
|
|
|
|
sn=owncastwh
|
|
st="Owncast Webhook"
|
|
|
|
while true; do
|
|
rm -f cmd/server/rice-box.go
|
|
./node_modules/.bin/webpack
|
|
screen -S "$sn" -d -m go run ./cmd/server/
|
|
notify-send "$t" "Build and ready"
|
|
inotifywait -r . -e close_write
|
|
screen -X -S "$sn" quit
|
|
done
|