diff --git a/backend/justfile b/backend/justfile index 3e2e250..7d90d25 100644 --- a/backend/justfile +++ b/backend/justfile @@ -137,7 +137,7 @@ worker: db-up S3_USE_PATH_STYLE='{{ s3_use_path_style }}' \ go run ./cmd/worker -# Run the component catalog on localhost:8080/ui-catalog (dev-only, -tags catalog). +# Run the component catalog with live-reload on localhost:8080/ui-catalog (dev-only). # Visit http://localhost:8080/ui-catalog to review all 11 component sections. catalog: just generate @@ -148,7 +148,7 @@ catalog: S3_ACCESS_KEY='{{ s3_access_key }}' \ S3_SECRET_KEY='{{ s3_secret_key }}' \ S3_USE_PATH_STYLE='{{ s3_use_path_style }}' \ - go run -tags catalog ./cmd/web + air -c .air.toml --build.cmd "templ generate && go build -tags catalog -o ./tmp/web ./cmd/web" test: just generate