An extension for ComfyUI that allows hot reloading. Once installed, you can preview changes in real-time while developing custom nodes or installing plugins without restarting ComfyUI.
一个用于 ComfyUI 的热重载扩展,安装即可,让你在开发自定义节点/安装插件时能够实时预览更改,无需重启 ComfyUI。
克隆仓库到 ComfyUI 的 custom_nodes
目录:
cd path/to/ComfyUI/custom_nodes
git clone https://github.com/LAOGOU-666/ComfyUI-LG-HotReload.git
安装依赖:
cd ComfyUI-LG-HotReload
pip install -r requirements.txt
启动 ComfyUI
开始编辑你的自定义节点,保存后将自动重载,你只需要重置节点或者刷新网页即可(这个只是一个插件,没有实体节点,装了就不用管它,后台自动处理)
本项目基于 ComfyUI-HotReloadHack 进行了重构和增强。特别感谢原作者 @logtd 提供的优秀代码基础。