feat: 🔊 fix path in plugin reload log so that it actually works
This commit is contained in:
parent
135ce6567b
commit
f50e388c39
|
@ -62,7 +62,7 @@ reloadplugin = (event, filename, pluginpath) => {
|
|||
console.info(event, filename)
|
||||
pluginpath = (pluginpath ? pluginpath : './plugins/') + filename
|
||||
const check = Object.keys(cfg.plugins)
|
||||
console.info(`reload file:`, pluginpath)
|
||||
console.info(`reload file: ./lib/${pluginpath}`)
|
||||
const plugin = require.resolve(pluginpath)
|
||||
if (plugin && require.cache[plugin]) {
|
||||
// console.debug(Object.keys(cfg.plugins))
|
||||
|
|
Loading…
Reference in New Issue
Block a user