You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
For the Django project I work on, I would like to use reloadium with the python repl.
Usually to run the repl, I would type on the commandline python manage.py shell
But when using reloadium: reloadium run manage.py shell I get the following traceback
Desktop (please complete the following information):
OS: MacOS
OS version: 12.6 (Monterey)
Reloadium package version: 0.9.4
PyCharm plugin version: None
Editor: commandline
Run mode: reloadium run
Additional context
It appears that reloadium (through watchdog) is not only scanning all my node_modules but opening the files too.
This is happening regardless if I set either the RELOADIUMPATH or RELOADIUMIGNORE environment variables.
I assumed I could configure it via reloadium_config.py since the Config object has ignored_paths and watched_paths but I think this scanning occurs prior to the config being loaded(?).
I believe this is more a problem with the vendored watchdog library, which also seems to also try limit you to 300 files in the pycharm plugin. This would be a problem for me since the django project I have as several thousand files.
Describe the bug
For the Django project I work on, I would like to use reloadium with the python repl.
Usually to run the repl, I would type on the commandline
python manage.py shell
But when using reloadium:
reloadium run manage.py shell
I get the following tracebackDesktop (please complete the following information):
reloadium run
Additional context
It appears that reloadium (through watchdog) is not only scanning all my node_modules but opening the files too.
This is happening regardless if I set either the
RELOADIUMPATH
orRELOADIUMIGNORE
environment variables.I assumed I could configure it via
reloadium_config.py
since the Config object has ignored_paths and watched_paths but I think this scanning occurs prior to the config being loaded(?).I believe this is more a problem with the vendored watchdog library, which also seems to also try limit you to 300 files in the pycharm plugin. This would be a problem for me since the django project I have as several thousand files.
Maybe you could use an alternate filesystem watcher like: https://pypi.org/project/watchfiles/
The text was updated successfully, but these errors were encountered: