Skip to content

fix: detach child process to prevent double cleanup on Ctrl+C#29

Open
Kylejeong2 wants to merge 1 commit intomainfrom
kylejeong/gro-997-fix-child-process-receives-duplicate-signals-sigint-sigterm
Open

fix: detach child process to prevent double cleanup on Ctrl+C#29
Kylejeong2 wants to merge 1 commit intomainfrom
kylejeong/gro-997-fix-child-process-receives-duplicate-signals-sigint-sigterm

Conversation

@Kylejeong2
Copy link
Member

why

when you ctrl c to exit the dev server for functions, it cleans up twice
Screenshot 2026-02-09 at 11 47 20 AM

what

detaching the child process from the tsc watch process, then on ctrl + c, we SIGTERM the entire group of processes via negative pid

testing

tested locally via building cli and running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant