diff --git a/lib/builder/generator.js b/lib/builder/generator.js index 956332ab31..63b6268e80 100644 --- a/lib/builder/generator.js +++ b/lib/builder/generator.js @@ -82,7 +82,6 @@ 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) })) }