Skip to content

fix: keep CLI tsx startup alive#16382

Open
atimmer wants to merge 1 commit intopayloadcms:3.xfrom
atimmer:fix/payload-cli-startup
Open

fix: keep CLI tsx startup alive#16382
atimmer wants to merge 1 commit intopayloadcms:3.xfrom
atimmer:fix/payload-cli-startup

Conversation

@atimmer
Copy link
Copy Markdown
Contributor

@atimmer atimmer commented Apr 24, 2026

What?

Ensures Payload writes a file before exiting the process.

Why?

Relevant explanation is in #16381

How?

This changes the default tsx-backed CLI path to hand off to a child Node process with the exported tsx loader installed, then waits for that child process to finish and propagates its exit status.

Fixes #16381

@atimmer atimmer changed the title fix(payload): keep CLI tsx startup alive fix: keep CLI tsx startup alive Apr 24, 2026
@atimmer atimmer mentioned this pull request Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant