Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jurigged.watch #39

Open
MaraScott opened this issue May 16, 2024 · 0 comments
Open

jurigged.watch #39

MaraScott opened this issue May 16, 2024 · 0 comments

Comments

@MaraScott
Copy link

Hi

i have script.py

import os 
import sys 
import numpy as np 
import numpy.typing as npt 
import runpy 
import jurigged 
os.environ['PYTHONIOENCODING'] = 'utf-8' 
watch_directory = '/ComfyUI/custom_nodes/ComfyUI_MaraScott_Nodes/__init__.py'  
jurigged.watch(watch_directory) 
sys.argv = ['jurigged'] + sys.argv[1:] 
runpy.run_module('jurigged', run_name='__main__', alter_sys=True) 

and

.\python_embeded\python.exe script.py -m jurigged -v "ComfyUI\main.py" --listen 127.0.0.1 --port 8188

but it seems it do not care about the directory I want to watch and it watches everything.

Any idea how can I fix that ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant