fix(13-05): run catalog via air for live-reload (-tags catalog)

This commit is contained in:
Arthur Belleville 2026-05-16 18:00:40 +02:00
parent d2c5a0cc07
commit 7ecc063fce
No known key found for this signature in database

View file

@ -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