diff --git a/index.js b/index.js index 4da59ff..f48895c 100644 --- a/index.js +++ b/index.js @@ -75,7 +75,7 @@ module.exports = { return global.envar }, - getDynamicConfig(dynamicConfigFile='config-dynamic.js') { // dynamicConfigFile should be absolute or relative to the node process's dir. + getDynamicConfig(dynamicConfigFile='envar-base-dynamic.js') { // dynamicConfigFile should be absolute or relative to the node process's dir. const fullpath = path.join(process.cwd(), dynamicConfigFile) if (fs.existsSync(fullpath)) { delete require.cache[require.resolve(fullpath)] // delete require.cache[fullpath] 不起作用