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.
process.send
undefined
1 parent 8bf8cc7 commit 235755bCopy full SHA for 235755b
src/core/server.ts
@@ -50,17 +50,15 @@ export async function startServer (options: StartServerOptions = {}) {
50
ctx.serverProcess.kill()
51
throw lastError || new Error('Timeout waiting for dev server!')
52
} else {
53
- ctx.serverProcess = execa('node', [
54
- resolve(ctx.nuxt!.options.nitro.output!.dir!, 'server/index.mjs')
55
- ], {
+ ctx.serverProcess = execaNode(resolve(ctx.nuxt!.options.nitro.output!.dir!, 'server/index.mjs'), {
56
stdio: 'inherit',
57
env: {
58
...process.env,
59
PORT: String(port),
60
HOST: host,
61
NODE_ENV: 'test',
62
- ...options.env
63
- }
+ ...options.env,
+ },
64
})
65
await waitForPort(port, { retries: 20, host })
66
}
0 commit comments