Skip to content

v0.2.0 — 热重载 Hot reload

Choose a tag to compare

@cyber-moshen cyber-moshen released this 15 Aug 09:18
· 3 commits to main since this release

热重载 Hot reload

纯 JS 插件安装/更新/卸载后立即在运行中的进程生效,无需重启;页面自动刷新,弹窗确认。

  • Pure-JS plugins now install/update/uninstall live in the running process — no restart needed; the page auto-refreshes with a confirmation toast.
  • 含原生模块(.node / binding.gyp)的插件会被自动识别,改为提示重启生效。
  • Plugins shipping native modules are detected and prompt for a restart instead.
  • 插件工坊自身更新也走热重载(自更新),boot 自动更新同步生效。
  • The workshop itself hot-reloads on update; the boot auto-updater uses the same path.
  • 失败自动回滚并降级为重启提示(安全兜底)。Failures roll back to the previous runtime and degrade to a restart notice.