feat: 🔊 fix path in plugin reload log so that it actually works
This commit is contained in:
		| @@ -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)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user