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
I have a need to tweak the settings of debounce and step. I am not using watchfiles directly however but via sphinx-autobuild, which does not currently expose those arguments to the user (see sphinx-doc/sphinx-autobuild#174).
I am wondering if it would be a good idea to be able to define the default values of such settings via environment variables so that not all of the tools using watchfiles need to support setting such rarely changed values?
One could claim that there even is precedent for this in the form of the existing WATCHFILES_DEBUG.
The text was updated successfully, but these errors were encountered:
I think this is important, in Windows platform when running Docker containers for development, WSL doesn't have support for inotify, and many watchers use stat for file monitoring.
Watchfiles has an stat mechanism, but the option for increase poll time between iterations only can be modified on watch() parameters and libraries than use this library don't pass that argument.
Add an environment variables for settings like that can help to optimize or reduce load.
I have a need to tweak the settings of
debounce
andstep
. I am not usingwatchfiles
directly however but viasphinx-autobuild
, which does not currently expose those arguments to the user (see sphinx-doc/sphinx-autobuild#174).I am wondering if it would be a good idea to be able to define the default values of such settings via environment variables so that not all of the tools using
watchfiles
need to support setting such rarely changed values?One could claim that there even is precedent for this in the form of the existing
WATCHFILES_DEBUG
.The text was updated successfully, but these errors were encountered: