mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix: with-feathers not startup with listening 3000
This commit is contained in:
parent
c0e9e66eef
commit
147d210c0a
@ -12,7 +12,7 @@ config.dev = process.env.NODE_ENV !== 'production'
|
|||||||
const nuxt = new Nuxt(config)
|
const nuxt = new Nuxt(config)
|
||||||
if (config.dev) {
|
if (config.dev) {
|
||||||
const builder = new Builder(nuxt)
|
const builder = new Builder(nuxt)
|
||||||
builder.build()
|
builder.build().then(() => process.emit('nuxt:build:done'))
|
||||||
} else {
|
} else {
|
||||||
process.nextTick(() => process.emit('nuxt:build:done'))
|
process.nextTick(() => process.emit('nuxt:build:done'))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user