diff --git a/lib/meteorApp.js b/lib/meteorApp.js index 1b133638..0f440006 100644 --- a/lib/meteorApp.js +++ b/lib/meteorApp.js @@ -423,9 +423,9 @@ export default class MeteorApp { ); // Kills the currently running meteor command. - function kill() { + function kill(signal = 'SIGKILL') { sll(''); - child.kill('SIGKILL'); + child.kill(signal); if (self.$.env.os.isWindows) { windowsKill(child.pid); } @@ -435,7 +435,7 @@ export default class MeteorApp { killTimeout = setTimeout(() => { clearTimeoutsAndIntervals(); desiredExit = true; - kill(); + kill('SIGTERM'); resolve(); }, 500); }