From f50e388c398d404396d8b997e93b80015b7b6436 Mon Sep 17 00:00:00 2001 From: jay Date: Wed, 14 Apr 2021 09:59:48 +0500 Subject: [PATCH] feat: :loud_sound: fix path in plugin reload log so that it actually works --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index b7b9b1f..6942b7b 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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))