replace unreliable dev server with modd
1 file changed, 1 insertion(+), 9 deletions(-)
changed files
M justfile → justfile
@@ -40,15 +40,7 @@ watch-server: (watch-flake "watchexec -r -i content -i templates go run ./cmd/server") dev: - #!/usr/bin/env bash - set -euxo pipefail - tmp="$(mktemp -d -t website-XXXXXX)" || exit 1 - echo using temp directory $tmp - trap "{ echo cleaning up $tmp; rm -rf \"$tmp\"; }" EXIT - go build -o $tmp ./cmd/dev ./cmd/build ./cmd/server - "${tmp}/dev" --temp-dir "${tmp}" - -watch-dev: (watch-flake "watchexec -r -e go just dev") + modd docker-stream system=(arch() + "-linux"): @nix build --print-out-paths .#docker-stream-{{ system }} | sh