From fb9b2b5e63fdbd007fd34014cb5f40b1eafffe27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Sun, 18 Jun 2017 13:36:03 +0200 Subject: [PATCH] Lint --- bin/nuxt-dev | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/nuxt-dev b/bin/nuxt-dev index f42e911ba0..229a523355 100755 --- a/bin/nuxt-dev +++ b/bin/nuxt-dev @@ -8,7 +8,7 @@ const debug = require('debug')('nuxt:build') debug.color = 2 // force green color const fs = require('fs') const parseArgs = require('minimist') -const { Nuxt,Server } = require('../') +const { Nuxt, Server } = require('../') const chokidar = require('chokidar') const resolve = require('path').resolve const without = require('lodash').without @@ -76,7 +76,7 @@ function listenOnConfigChanges (nuxt, server) { const build = _.debounce(() => { debug('[nuxt.config.js] changed') delete require.cache[nuxtConfigFile] - const options = {} + let options = {} if (fs.existsSync(nuxtConfigFile)) { try { options = require(nuxtConfigFile)