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
Currently the only way to customize the Reloader implementation is to either monkeypatch it or subclass the worker. It would be great if there was a way, even if it was only really available via gunicorn.app.base.Application subclassing, to configure our own Reloader.
Alternatively a way to specify additional files (maybe with a glob?) would be useful instead.
The text was updated successfully, but these errors were encountered:
Even just assigning the new Reloader instance to self.reloader would make it available to the post_worker_init hook. The Reloader has a method add_extra_file.
Would that be sufficient for what you need for this issue or do you really want to customize it in some other way?
Currently the only way to customize the
Reloader
implementation is to either monkeypatch it or subclass the worker. It would be great if there was a way, even if it was only really available viagunicorn.app.base.Application
subclassing, to configure our ownReloader
.Alternatively a way to specify additional files (maybe with a glob?) would be useful instead.
The text was updated successfully, but these errors were encountered: