Merge pull request #3332 from hehuaiyu/fix/windows-bun-shim-resolution

fix(tooling): resolve Bun executable on Windows
This commit is contained in:
Bohdan Triapitsyn
2026-09-05 01:24:34 +03:00
committed by GitHub
11 changed files with 337 additions and 18 deletions
@@ -138,7 +138,7 @@ export const createServerStartupRuntime = (dependencies) => {
// Cover every signal a shell or dev harness may use to stop/restart us, so
// the managed OpenCode child is always torn down gracefully instead of
// orphaned: SIGINT/SIGQUIT (Ctrl+C/Ctrl+\), SIGTERM (kill/default), SIGHUP
// (terminal close), SIGUSR2 (nodemon restart for `dev:server:watch`).
// (terminal close), SIGUSR2 (nodemon restart outside Windows).
process.on('SIGTERM', handleSignal);
process.on('SIGINT', handleSignal);
process.on('SIGQUIT', handleSignal);