Watch for payload changes and rebuild locally #23

Closed
opened 2024-05-19 06:56:01 +00:00 by tma · 1 comment
Owner

Currently payload does not rebuild when changes are made. Astro does.

Currently payload does not rebuild when changes are made. Astro does.
tma added the
infrastructure
label 2024-05-19 06:56:01 +00:00
Owner

It was using the prod container, which calls yarn serve, not the dev container.

I've now changed it so there's a separate payload-dev container published, and so that yarn dev runs docker compose --build by default (with yarn dev:nobuild available for those of us who have mysterious network issues trying to build locally).

It was using the prod container, which calls `yarn serve`, not the `dev` container. I've now changed it so there's a separate `payload-dev` container published, and so that `yarn dev` runs `docker compose --build` by default (with `yarn dev:nobuild` available for those of us who have mysterious network issues trying to build locally).
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: autonomic-cooperative/astro-payload-template#23
No description provided.