mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +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)
|
||||
if (config.dev) {
|
||||
const builder = new Builder(nuxt)
|
||||
builder.build()
|
||||
builder.build().then(() => process.emit('nuxt:build:done'))
|
||||
} else {
|
||||
process.nextTick(() => process.emit('nuxt:build:done'))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user