-
-
Notifications
You must be signed in to change notification settings - Fork 704
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
Enable possibility to enforce PollingObserver by setting the environment variable WATCHMEDO_FORCE_POLLING #289
Conversation
…ing --polling or setting the WATCHMEDO_POLLING environment variable
…POLLING environment variable
I see that the Travis CI build fails, but it looks to be a timeout issue. |
I suggest doing something similar to |
Actually, I was trying to keep it consistent in the end, by loading the proper Observer in init.py based on the environment, as well as the other switches are relying on the type of platform. And this wouldn't have any side effects on people using the python API, of course it needs to be documented. |
…it is just related to watchmedo, and not to the python API
But, I do think that there should be an command line option for watchmedo as well, not just to rely on the environment variable. |
+1 this will enable |
Closing in favor of #336 |
This enables possibility to enforce the usage of PollingObserver by setting the environment variable WATCHMEDO_FORCE_POLLING.