mirror of https://github.com/nuxt/nuxt.git
Merge branch 'dev' of github.com:nuxt/nuxt.js into dev
This commit is contained in:
commit
71c34b1d7a
|
@ -26,12 +26,14 @@ export default class Generator extends Tapable {
|
|||
const s = Date.now()
|
||||
let errors = []
|
||||
|
||||
// Add flag to set process.generate
|
||||
this.builder.forGenerate()
|
||||
|
||||
// Wait for nuxt be ready
|
||||
await this.nuxt.ready()
|
||||
|
||||
// Start build process
|
||||
if (build) {
|
||||
this.builder.forGenerate() // Add flag to set process.generate
|
||||
await this.builder.build()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue