auto_reload
Helper classes for reloading parts of the application when the
source code has changed.
This module contains the singleton auto_reload object whose reload slot
will be emitted when the application needs to be reloaded.
-
class camelot.core.auto_reload.AutoReload(parent=None)[source]
Monitors the source code and emits the reload signal whenever
the source code has changed and the model thread was restarted.
-
class camelot.core.auto_reload.AutoReloadEvents[source]
Devinition of AutoReloadEvents
-
after_reload()[source]
After the reload of the modules has happened, reconstruct.
-
before_reload()[source]
Before the reload is triggered, use this event to properly clear
resources