We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc7c0be commit b85f4d6Copy full SHA for b85f4d6
packages/build/src/plugins/spawn.ts
@@ -218,7 +218,9 @@ const stopPlugin = async function ({
218
childProcess.disconnect()
219
}
220
try {
221
- childProcess.kill()
+ childProcess.kill('SIGTERM', {
222
+ forceKillAfterTimeout: false,
223
+ })
224
} catch {
225
// In Node 22, there's a bug where attempting to kill a child process
226
// results in an EPERM error. Ignore the error in that case.
0 commit comments