class documentation

class WatchdogReloaderLoop(ReloaderLoop): (source)

View In Hierarchy

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 run Continually run the watch step, sleeping for the configured interval after each step.
Method run_step Run one step for watching the filesystem. Called once to set up initial state, then repeatedly to update it.
Method trigger_reload Undocumented
Instance Variable event_handler Undocumented
Instance Variable name Undocumented
Instance Variable observer Undocumented
Instance Variable should_reload Undocumented
Instance Variable watches Undocumented

Inherited from ReloaderLoop:

Method log_reload Undocumented
Method restart_with_reloader Spawn a new Python interpreter with the same arguments as the current one, but running the reloader thread.
Instance Variable exclude_patterns Undocumented
Instance Variable extra_files Undocumented
Instance Variable interval Undocumented
def __enter__(self) -> ReloaderLoop: (source)

Do any setup, then run one step of the watch to populate the initial filesystem state.

def __exit__(self, exc_type, exc_val, exc_tb): (source)

Clean up any resources associated with the reloader.

def __init__(self, *args: t.Any, **kwargs: t.Any): (source)
def run(self): (source)

Continually run the watch step, sleeping for the configured interval after each step.

def run_step(self): (source)

Run one step for watching the filesystem. Called once to set up initial state, then repeatedly to update it.

def trigger_reload(self, filename: str): (source)
event_handler = (source)

Undocumented

observer = (source)

Undocumented

should_reload: bool = (source)

Undocumented

Undocumented