instead always do the "prod" thing, but use entr for restarting the server for all assets
9 lines
132 B
Bash
Executable File
9 lines
132 B
Bash
Executable File
#!/bin/sh
|
|
|
|
source ./_build_vars
|
|
./_do_gen_assets
|
|
go run \
|
|
-tags "$(tr '\n' ' ' < _build_tags)" \
|
|
cmd/gonic/main.go \
|
|
$@
|