mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 14:45:15 +00:00
chore: remove artifact
This commit is contained in:
parent
61945e9155
commit
723a55b500
@ -24,14 +24,11 @@ export async function startDevServer () {
|
|||||||
NUXT_CONFIG_OVERRIDES: JSON.stringify(ctx.options.nuxtConfig)
|
NUXT_CONFIG_OVERRIDES: JSON.stringify(ctx.options.nuxtConfig)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log('boot dev server', ctx.options.rootDir, JSON.stringify(ctx.options.nuxtConfig))
|
|
||||||
// wait until the server process displays the listening path
|
// wait until the server process displays the listening path
|
||||||
ctx.url = await new Promise<string>(resolve => {
|
ctx.url = await new Promise<string>(resolve => {
|
||||||
// @ts-expect-error untyoed
|
// @ts-expect-error untyoed
|
||||||
ctx.serverProcess.stdout?.on('data', (data: Buffer) => {
|
ctx.serverProcess.stdout?.on('data', (data: Buffer) => {
|
||||||
console.log(data.toString())
|
|
||||||
if (data.toString().includes('Local:')) {
|
if (data.toString().includes('Local:')) {
|
||||||
console.log('resolving')
|
|
||||||
resolve(data.toString().split('Local:')[1].trim())
|
resolve(data.toString().split('Local:')[1].trim())
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user