Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Jun 18, 2017
1 parent 18fd47e commit fb9b2b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/nuxt-dev
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit fb9b2b5

Please sign in to comment.