class documentation
class ReloaderLoop: (source)
Known subclasses: werkzeug._reloader.StatReloaderLoop
, werkzeug._reloader.WatchdogReloaderLoop
Undocumented
Method | __enter__ |
Do any setup, then run one step of the watch to populate the initial filesystem state. |
Method | __exit__ |
Clean up any resources associated with the reloader. |
Method | __init__ |
Undocumented |
Method | log |
Undocumented |
Method | restart |
Spawn a new Python interpreter with the same arguments as the current one, but running the reloader thread. |
Method | run |
Continually run the watch step, sleeping for the configured interval after each step. |
Method | run |
Run one step for watching the filesystem. Called once to set up initial state, then repeatedly to update it. |
Method | trigger |
Undocumented |
Class Variable | name |
Undocumented |
Instance Variable | exclude |
Undocumented |
Instance Variable | extra |
Undocumented |
Instance Variable | interval |
Undocumented |
overridden in
werkzeug._reloader.WatchdogReloaderLoop
Clean up any resources associated with the reloader.
def __init__(self, extra_files:
t.Optional[ t.Iterable[ str]]
= None, exclude_patterns: t.Optional[ t.Iterable[ str]]
= None, interval: t.Union[ int, float]
= 1):
(source)
¶
overridden in
werkzeug._reloader.WatchdogReloaderLoop
Undocumented
Spawn a new Python interpreter with the same arguments as the current one, but running the reloader thread.
overridden in
werkzeug._reloader.WatchdogReloaderLoop
Continually run the watch step, sleeping for the configured interval after each step.
Run one step for watching the filesystem. Called once to set up initial state, then repeatedly to update it.