From 08cf753d3b9486acc722266f9c08894450005cb3 Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Wed, 4 Feb 2026 05:56:25 +1100 Subject: [PATCH] chore: add `just dev` Runs `cachewd` with hot reload. --- Justfile | 4 ++++ Procfile | 1 + bin/.proctor-0.5.0.pkg | 1 + bin/proctor | 1 + 4 files changed, 7 insertions(+) create mode 100644 Procfile create mode 120000 bin/.proctor-0.5.0.pkg create mode 120000 bin/proctor diff --git a/Justfile b/Justfile index 6e00bf9..17865b2 100644 --- a/Justfile +++ b/Justfile @@ -16,6 +16,10 @@ GOOS := env("GOOS", `go env GOOS`) _help: @just -l +# Run cachewd with hot reload +dev: + proctor + # Run tests test: @gotestsum --hide-summary output,skipped --format-hide-empty-pkg ${CI:+--format github-actions} ./... -- -race -timeout 30s diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..fef0c2c --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +cachewd **/*.go !**/*_test.go ready=http:8080/_readiness=200: cachewd --log-level=debug diff --git a/bin/.proctor-0.5.0.pkg b/bin/.proctor-0.5.0.pkg new file mode 120000 index 0000000..383f451 --- /dev/null +++ b/bin/.proctor-0.5.0.pkg @@ -0,0 +1 @@ +hermit \ No newline at end of file diff --git a/bin/proctor b/bin/proctor new file mode 120000 index 0000000..946fc35 --- /dev/null +++ b/bin/proctor @@ -0,0 +1 @@ +.proctor-0.5.0.pkg \ No newline at end of file