class BaseReloader:
Known subclasses: django.utils.autoreload.StatReloader
, django.utils.autoreload.WatchmanReloader
Undocumented
Class Method | check_availability |
Undocumented |
Method | __init__ |
Undocumented |
Method | notify_file_changed |
Undocumented |
Method | run |
Undocumented |
Method | run_loop |
Undocumented |
Method | stop |
Undocumented |
Method | tick |
No summary |
Method | wait_for_apps_ready |
No summary |
Method | watch_dir |
Undocumented |
Method | watched_files |
Yield all files that need to be watched, including module files and files within globs. |
Instance Variable | _stop_condition |
Undocumented |
Instance Variable | directory_globs |
Undocumented |
Instance Variable | extra_files |
Undocumented |
Property | should_stop |
Undocumented |
Wait until Django reports that the apps have been loaded. If the given thread has terminated before the apps are ready, then a SyntaxError or other non-recoverable error has been raised. In that case, stop waiting for the apps_ready event and continue processing.
Return True if the thread is alive and the ready event has been triggered, or False if the thread is terminated while waiting for the event.