kill detached process with sigkill
This commit is contained in:
@@ -6,4 +6,4 @@ await execa("pnpm", ["build"], { stdio: "inherit" })
|
|||||||
const app = execa("pnpm", ["start"], { stdio: "inherit", detached: true })
|
const app = execa("pnpm", ["start"], { stdio: "inherit", detached: true })
|
||||||
await waitOn({ resources: ["http-get://localhost:3000"] })
|
await waitOn({ resources: ["http-get://localhost:3000"] })
|
||||||
await cypress.run()
|
await cypress.run()
|
||||||
process.kill(app.pid!)
|
process.kill(app.pid!, "SIGKILL")
|
||||||
|
|||||||
Reference in New Issue
Block a user