diff --git a/lib/builder/generator.js b/lib/builder/generator.js index fec70335b2..36684fec26 100644 --- a/lib/builder/generator.js +++ b/lib/builder/generator.js @@ -29,7 +29,7 @@ export default class Generator extends Tapable { await this.initiate({ build: build, init: init }) const routes = await this.initRoutes() const errors = await this.generateRoutes(routes) - this.postGenerate() + await this.postGenerate() const duration = Math.round((Date.now() - s) / 100) / 10 this.printReport(duration, errors)