diff --git a/bin/nuxt-dev b/bin/nuxt-dev index f6b3aace46..351a82a680 100755 --- a/bin/nuxt-dev +++ b/bin/nuxt-dev @@ -69,7 +69,7 @@ function listenOnConfigChanges (nuxt, server) { .then(() => { nuxt.renderer = null debug('Rebuilding the app...') - return new Nuxt(options).build() + return (new Nuxt(options)).then(nuxt => nuxt.build()) }) .then((nuxt) => { server.nuxt = nuxt