-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
[BUG] --watch does not reload code changes, despite console output saying so "files changed, reloading arq worker..." #429
Comments
Anyone else facing this issue? For now, I have configured my development with a VS code launch json config, that does a |
Lucky, I don't even get:
|
I also don't get the changes reflected in the worker even though it states it's been reloaded. |
The problem is that the worker's source is never reloaded on a detected change in files watched. See this line: Line 77 in ec1532b
My solution is to use watchfiles directly
|
I am not able to get --watch to work, despite the console output looking like it has restarted arq. Steps to reproduce below, what am I missing?
How to reproduce?
I created an isolated python project in a fresh conda environment (Python 3.11.7) and able to reproduce it:
demo.py file (similar to example in arq doc)
Worker running using:
arq_try arq demo.WorkerSettings --watch ./
Project directory tree:
Any help or pointers appreciated!
The text was updated successfully, but these errors were encountered: