floyo logobeta logo
Powered by
ThinkDiffusion
floyo logobeta logo
Powered by
ThinkDiffusion

ComfyUI-LG_HotReload

201

Last updated
2025-06-21

ComfyUI LG_HotReload is an extension designed for ComfyUI that facilitates real-time code updates when developing custom nodes or plugins, eliminating the need to restart the application. This tool enhances the development experience by allowing users to see changes immediately without interrupting their workflow.

  • Enables automatic reloading of nodes upon code modification.
  • Supports configuration to exclude specific modules from hot reloading.
  • Monitors designated file types and directories for efficient updates.

Context

This tool acts as a hot reload extension for ComfyUI, aimed at streamlining the development process of custom nodes and plugins. Its primary purpose is to provide developers with immediate feedback on their code changes, significantly speeding up the development cycle.

Key Features & Benefits

The extension offers several practical features that enhance usability. The real-time hot reload functionality allows developers to see their changes instantly, while the intelligent monitoring system ensures that only relevant files are tracked, reducing unnecessary performance overhead. Additionally, the ability to exclude certain modules from hot reloading provides developers with more control over their environment.

Advanced Functionalities

One of the advanced capabilities of this tool is its debounce design, which mitigates performance issues that can arise from frequent reloading. This feature ensures that the system remains responsive even during rapid code changes. Furthermore, the extension supports automatic synchronization of web directory contents, making it easier to manage associated files.

Practical Benefits

By integrating this tool into their workflow, ComfyUI users can expect improved efficiency and control over their development process. The immediate feedback loop not only saves time but also enhances the quality of the development experience, allowing for a more agile approach to creating custom nodes and plugins.

Credits/Acknowledgments

This project builds upon the foundational work of ComfyUI-HotReloadHack and has been restructured and enhanced by the author. Special thanks are given to the original creator, @logtd, for providing the excellent codebase that this extension is built upon.