mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
Lint
This commit is contained in:
parent
18fd47ee61
commit
fb9b2b5e63
@ -76,7 +76,7 @@ function listenOnConfigChanges (nuxt, server) {
|
|||||||
const build = _.debounce(() => {
|
const build = _.debounce(() => {
|
||||||
debug('[nuxt.config.js] changed')
|
debug('[nuxt.config.js] changed')
|
||||||
delete require.cache[nuxtConfigFile]
|
delete require.cache[nuxtConfigFile]
|
||||||
const options = {}
|
let options = {}
|
||||||
if (fs.existsSync(nuxtConfigFile)) {
|
if (fs.existsSync(nuxtConfigFile)) {
|
||||||
try {
|
try {
|
||||||
options = require(nuxtConfigFile)
|
options = require(nuxtConfigFile)
|
||||||
|
Loading…
Reference in New Issue
Block a user