This commit is contained in:
Sébastien Chopin 2017-06-18 13:36:03 +02:00
parent 18fd47ee61
commit fb9b2b5e63

View File

@ -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)