[PR #12865] fix(opencode): exit process on SIGHUP (#12767) #14408

Open
opened 2026-02-16 18:19:12 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12865

State: open
Merged: No


What does this PR do?

Fixes #12767
Adds a SIGHUP handler to opencode index.ts so that the process exits when the terminal it's in is closed

How did you verify your code works?

I ran bun dev and closed the terminal and checked ps aux | grep bun

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12865 **State:** open **Merged:** No --- ### What does this PR do? Fixes #12767 Adds a SIGHUP handler to opencode index.ts so that the process exits when the terminal it's in is closed ### How did you verify your code works? I ran `bun dev` and closed the terminal and checked `ps aux | grep bun`
yindo added the pull-request label 2026-02-16 18:19:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14408