📝 摘要
插件补丁热重载重跑apply却保留已导入ESM模块
#10774 · Dogwind221 · 2026-10-23
插件补丁热重载重跑apply却保留已导入ESM模块
What I did I'm developing a local plugin registered through a profile patch: ```yaml · insert: - id: live-workbench name: 'file:///F:/.../plugin/dsh-live-workbench/dist/plugin.js' ``` The plugin's `apply()` dynamically imports a handler module that lives elsewhere in my repo, then registers a prefix……
节选自讨论正文开头,完整内容见原文