From 90f96891ec64ae64c7a1772e1d2af929b7262ac3 Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 25 May 2018 12:36:01 -0400 Subject: [PATCH] fix: fix config reload cache busting --- lib/util/loadConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/loadConfig.js b/lib/util/loadConfig.js index d892477c94..23e1ec8cb9 100644 --- a/lib/util/loadConfig.js +++ b/lib/util/loadConfig.js @@ -3,7 +3,7 @@ const path = require('path') const yamlParser = require('js-yaml') const tomlParser = require('toml') -module.exports = function loadConfig (vuepressDir, bustCache = false) { +module.exports = function loadConfig (vuepressDir, bustCache = true) { const configPath = path.resolve(vuepressDir, 'config.js') const configYmlPath = path.resolve(vuepressDir, 'config.yml') const configTomlPath = path.resolve(vuepressDir, 'config.toml')