From 2b80bc3e5c2186deaa0e1a2aee1df21432328d3b Mon Sep 17 00:00:00 2001 From: Sebastien Chopin Date: Fri, 2 Jun 2017 17:59:20 +0200 Subject: [PATCH] No need to call build() on development --- bin/nuxt-dev | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bin/nuxt-dev b/bin/nuxt-dev index 7b2a36bda2..4b1f733ce6 100755 --- a/bin/nuxt-dev +++ b/bin/nuxt-dev @@ -46,12 +46,6 @@ var server = nuxt.server = new nuxt.Server(nuxt).listen(port, host) listenOnConfigChanges(nuxt, server) -nuxt.build() - .catch((err) => { - console.error(err) // eslint-disable-line no-console - process.exit(1) - }) - function listenOnConfigChanges(nuxt, server) { // Listen on nuxt.config.js changes var build = _.debounce(() => {