Skip to content

Instantly share code, notes, and snippets.

@MaraScott
Last active June 1, 2024 08:16
Show Gist options
  • Save MaraScott/f8390400b9a9961b946ac2ae4c7b68dd to your computer and use it in GitHub Desktop.
Save MaraScott/f8390400b9a9961b946ac2ae4c7b68dd to your computer and use it in GitHub Desktop.
run_nvidia_gpu_jurigged.bat
# .\python_embeded\python.exe .\python_embeded\Scripts\pip.exe install jurigged
.\python_embeded\python.exe -m jurigged --watch ComfyUI/custom_nodes/ComfyUI_MaraScott_nodes/ -v ComfyUI/main.py --listen local.marascott.ai --port 8188
@gonzalu
Copy link

gonzalu commented May 31, 2024

So, I only watch the node I am developing and not the entire ComfyUI? is that what I understand from the above command?

@MaraScott
Copy link
Author

exactly

@MaraScott
Copy link
Author

IMPORTANT : if you restart the server from ComfyUI-Manager, the hot-reload jurigged won't be trigger again.
If you need to restart and keep jurigged active you have to manualy stop the server and restart it

@gonzalu
Copy link

gonzalu commented Jun 1, 2024

Awesome, thanks.... here goes. Trying to code a new node :D

@gonzalu
Copy link

gonzalu commented Jun 1, 2024

OK, sorry... so, how the heck do I use it? Every time the .py file is saved it loads it?

@MaraScott
Copy link
Author

Have you install jurigged first?
Yes, it reloads the py code each time.
You should see it in the console log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment