Commit 0763a35
Fix
* fix: handle turbo shutdown in dev runner
* refactor: rely on effect child process shutdown
* refactor: inline turbo shutdown timeout
* add back sigint sigterm sighup handling
* refactor: tighten turbo signal forwarding
* refactor: inline dev runner errors
* fix: use detached false instead of manual signal forwarding
Effect defaults to detached: true on non-Windows, putting turbo in a
new process group where terminal signals (Ctrl+C) never reach it.
Setting detached: false keeps turbo in the same group, eliminating
the need for ~130 lines of manual signal forwarding.
* Update scripts/dev-runner.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>bun run dev:desktop from not terminating properly on SIGINT/SIGTERM/SIGHUP (#305)1 parent e1c33dc commit 0763a35
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
458 | 463 | | |
459 | 464 | | |
460 | 465 | | |
| |||
0 commit comments