From 68dfc60078e1da0c6000cedbedb3e9c668268103 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Thu, 9 Aug 2018 22:35:55 +0100 Subject: [PATCH] fix: lint error in bin (#3668) --- bin/nuxt-dev | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bin/nuxt-dev b/bin/nuxt-dev index 6ec9113b02..bfa8a988b2 100755 --- a/bin/nuxt-dev +++ b/bin/nuxt-dev @@ -1,10 +1,9 @@ #!/usr/bin/env node const parseArgs = require('minimist') -const chokidar = require('chokidar') const consola = require('consola') const { version } = require('../package.json') const { Nuxt, Builder } = require('..') -const { loadNuxtConfig, getLatestHost, nuxtConfigFile } = require('./common/utils') +const { loadNuxtConfig, getLatestHost } = require('./common/utils') const argv = parseArgs(process.argv.slice(2), { alias: { @@ -50,9 +49,6 @@ if (argv.help) { process.exit(0) } -// Load config once for chokidar -const nuxtConfig = loadNuxtConfig(argv) - // Start dev let hooked = false let dev = startDev()