Run gen_element_types before tsc --watch in make server/dev
Staging deployment / deploy (push) Successful in 10s
Staging deployment / comment (push) Has been skipped
Staging deployment / teardown (push) Has been skipped
Django CI/CD / build-and-push (push) Successful in 3m32s
Django CI/CD / test (push) Successful in 3m45s
Staging deployment / deploy (push) Successful in 10s
Staging deployment / comment (push) Has been skipped
Staging deployment / teardown (push) Has been skipped
Django CI/CD / build-and-push (push) Successful in 3m32s
Django CI/CD / test (push) Successful in 3m45s
make server and make dev were starting tsc --watch cold, so new element registrations never landed in ts/generated/props.ts until make ts was run manually. Adding gen-element-types as a dependency ensures props.ts is always fresh before the watcher starts. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -22,7 +22,7 @@ init:
|
|||||||
pnpm install
|
pnpm install
|
||||||
$(MAKE) loadplatforms
|
$(MAKE) loadplatforms
|
||||||
|
|
||||||
server:
|
server: gen-element-types
|
||||||
@pnpm concurrently \
|
@pnpm concurrently \
|
||||||
--names "Django,TS" \
|
--names "Django,TS" \
|
||||||
--prefix-colors "blue,green" \
|
--prefix-colors "blue,green" \
|
||||||
@@ -38,7 +38,7 @@ ts: gen-element-types
|
|||||||
ts-check: gen-element-types
|
ts-check: gen-element-types
|
||||||
pnpm exec tsc --noEmit
|
pnpm exec tsc --noEmit
|
||||||
|
|
||||||
dev:
|
dev: gen-element-types
|
||||||
@pnpm concurrently \
|
@pnpm concurrently \
|
||||||
--names "Django,Tailwind,TS" \
|
--names "Django,Tailwind,TS" \
|
||||||
--prefix-colors "blue,green,magenta" \
|
--prefix-colors "blue,green,magenta" \
|
||||||
|
|||||||
Reference in New Issue
Block a user