From 87b53674e4c02a6cdd3220843a66ca17f17275e3 Mon Sep 17 00:00:00 2001 From: Thomas Reichling Date: Sun, 24 Mar 2019 12:21:51 +0100 Subject: [PATCH] Added .catch(console.error) to nuxt.ready() --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 12908f359b..e3c683cd24 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ let config = require('./nuxt.config.js') config.dev = (process.env.NODE_ENV !== 'production') let nuxt = new Nuxt(config) -nuxt.ready() +nuxt.ready().catch(console.error) // Start build process (only in development) if (config.dev) {