Skip to content

Commit

Permalink
Merge pull request nuxt#1985 from clarkdo/with-feathers-fix
Browse files Browse the repository at this point in the history
fix: with-feathers not startup with listening 3000
  • Loading branch information
Atinux committed Oct 30, 2017
2 parents 8860cbd + 147d210 commit 2f1d60d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-feathers/src/middleware/nuxt.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
}
Expand Down

0 comments on commit 2f1d60d

Please sign in to comment.