You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix dev server process tree not terminated in test:init
Replace @david/dax process spawning with node:child_process.spawn()
using detached: true to create a new process group. On cleanup, use
process.kill(-child.pid, 'SIGKILL') to terminate the entire process
group, ensuring all descendant processes (tsx watch, dotenvx, etc.)
are killed.
@david/dax's CommandChild.kill() only sends a signal through its
internal KillSignal abstraction, which cannot propagate to the full
OS process tree. This is a known limitation (dsherret/dax#351).
Closes: #667
Co-Authored-By: GitHub Copilot <noreply@github.com>
0 commit comments