diff options
| author | Sebastian <[email protected]> | 2026-03-15 00:52:28 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-03-15 00:52:28 +0100 |
| commit | 8f957b8f90a4faa6afcb299127d320e1eb538c25 (patch) | |
| tree | b943ef126d601970c5ea9a75da6feb39485cb174 | |
| parent | 0befa1e57e2b5ec2cd7b0fcfce7e572866393154 (diff) | |
| download | opencode-8f957b8f90a4faa6afcb299127d320e1eb538c25.tar.gz opencode-8f957b8f90a4faa6afcb299127d320e1eb538c25.zip | |
remove sighup exit (#17254)
| -rw-r--r-- | packages/opencode/src/index.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/opencode/src/index.ts b/packages/opencode/src/index.ts index fe7fd63ef..b3d1db7eb 100644 --- a/packages/opencode/src/index.ts +++ b/packages/opencode/src/index.ts @@ -47,11 +47,6 @@ process.on("uncaughtException", (e) => { }) }) -// Ensure the process exits on terminal hangup (eg. closing the terminal tab). -// Without this, long-running commands like `serve` block on a never-resolving -// promise and survive as orphaned processes. -process.on("SIGHUP", () => process.exit()) - let cli = yargs(hideBin(process.argv)) .parserConfiguration({ "populate--": true }) .scriptName("opencode") |
