labscript_utils.modulewatcher.ModuleWatcher
- class labscript_utils.modulewatcher.ModuleWatcher(debug=False)[source]
Bases:
object
A watcher that reloads modules that have been modified on disk
Only reloads modules imported after instantiation. Does not reload C extensions.
- Parameters:
debug (bool, optional) – When
True
, prints debugging information when reloading modules.
Methods
__init__
([debug])check
()mainloop
()unload
()