fix add插件热加载变量开关(保留DEV开关

This commit is contained in:
thsrite
2024-05-14 09:24:02 +08:00
parent bd6d6b6882
commit 4281692321
3 changed files with 4 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class PluginManager(metaclass=Singleton):
self.pluginhelper = PluginHelper()
self.systemconfig = SystemConfigOper()
# 开发者模式监测插件修改
if settings.DEV:
if settings.DEV or settings.PLUGIN_AUTO_RELOAD:
self.__start_monitor()
def init_config(self):