Replace code that was removed by commit: 65f4a030f4

This commit is contained in:
dsandor 2017-12-12 19:42:34 -05:00 committed by Pooya Parsa
parent 49b43c4be3
commit cc74126fa6

View File

@ -82,6 +82,7 @@ module.exports = class Generator {
await Promise.all(routes.splice(0, this.options.generate.concurrency).map(async ({ route, payload }) => {
await waitFor(n++ * this.options.generate.interval)
await this.generateRoute({ route, payload, errors })
await this.nuxt.callHook('generate:routeCreated', route)
}))
}