[GH-ISSUE #2027] [QUESTION] How to prestart custom node #846

Closed
opened 2026-10-27 21:22:57 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @Fenish on GitHub (Jul 24, 2025).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/2027

Im writing custom node for comfyui but i want it to be loaded before startup like what manager and easy use does

Jul 24 12:00:09 cn1-aitws python3[50050]: Prestartup times for custom nodes:
Jul 24 12:00:09 cn1-aitws python3[50050]:    0.0 seconds: /mnt/sdb1/ComfyUI/comfyui/custom_nodes/comfyui-easy-use
Jul 24 12:00:09 cn1-aitws python3[50050]:    0.7 seconds: /mnt/sdb1/ComfyUI/comfyui/custom_nodes/ComfyUI-Manager

How can i achieve this

Originally created by @Fenish on GitHub (Jul 24, 2025). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/2027 Im writing custom node for comfyui but i want it to be loaded before startup like what manager and easy use does ``` Jul 24 12:00:09 cn1-aitws python3[50050]: Prestartup times for custom nodes: Jul 24 12:00:09 cn1-aitws python3[50050]: 0.0 seconds: /mnt/sdb1/ComfyUI/comfyui/custom_nodes/comfyui-easy-use Jul 24 12:00:09 cn1-aitws python3[50050]: 0.7 seconds: /mnt/sdb1/ComfyUI/comfyui/custom_nodes/ComfyUI-Manager ``` How can i achieve this
Author
Owner

@ltdrdata commented on GitHub (Jul 24, 2025):

You just need to create a prestartup_script.py file.

<!-- gh-comment-id:3113281958 --> @ltdrdata commented on GitHub (Jul 24, 2025): You just need to create a `prestartup_script.py` file.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#846
No description provided.