Added .catch(console.error) to nuxt.ready()

This commit is contained in:
Thomas Reichling 2019-03-24 12:21:51 +01:00 committed by GitHub
parent be72f15c6b
commit 87b53674e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ let config = require('./nuxt.config.js')
config.dev = (process.env.NODE_ENV !== 'production') config.dev = (process.env.NODE_ENV !== 'production')
let nuxt = new Nuxt(config) let nuxt = new Nuxt(config)
nuxt.ready() nuxt.ready().catch(console.error)
// Start build process (only in development) // Start build process (only in development)
if (config.dev) { if (config.dev) {