auto-reload

This commit is contained in:
2023-12-13 08:35:01 +01:00
parent ab2f2ff439
commit e691640055
6 changed files with 89 additions and 14 deletions

View File

@@ -20,9 +20,13 @@ enums:
ids:
go generate models/ids.go
run: build
run-systemd: build
mkdir -p .run-data
sudo BUNNY_LIVERELOAD="$(shell pwd)/webassets" CONF_NS="local-host" _build/bunny_backend
CONF_NS="production" _build/bunny_backend
run-test: build
mkdir -p .run-data
sudo BUNNY_LIVERELOAD="$(shell pwd)/webassets" BUNNY_PORT="4004" CONF_NS="local-host" _build/bunny_backend
gow:
# go install github.com/mitranim/gow@latest