Update run.ts

Signed-off-by: Ben Lambert <blam@spotify.com>
This commit is contained in:
Ben Lambert
2021-10-28 21:30:52 +02:00
committed by blam
parent 9e3b76f86a
commit 8535bbd53c
-1
View File
@@ -383,7 +383,6 @@ async function testAppServe(pluginName: string, appDir: string) {
}
} finally {
// Kill entire process group, otherwise we'll end up with hanging serve processes
if (browser) await browser.close();
await new Promise<void>((res, rej) =>
killTree(startApp.pid, err => (err ? rej(err) : res())),
);