fix(13-05): run catalog via air for live-reload (-tags catalog)
This commit is contained in:
parent
d2c5a0cc07
commit
7ecc063fce
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue