We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c433e2 commit 83c6dedCopy full SHA for 83c6ded
2 files changed
docs/source/conf.py
@@ -49,6 +49,7 @@
49
]
50
51
autodoc_typehints = 'description'
52
+autodoc_mock_imports = ["site"]
53
54
# Prefix each autosectionlabel with the name of the document it is in and a colon
55
autosectionlabel_prefix_document = True
labscript_utils/modulewatcher.py
@@ -33,6 +33,14 @@
33
34
35
class ModuleWatcher(object):
36
+ """A watcher that reloads modules that have been modified on disk
37
+
38
+ Only reloads modules imported after instantiation. Does not reload C extensions.
39
40
+ Args:
41
+ debug (bool, optional): When :code:`True`, prints debugging information
42
+ when reloading modules.
43
+ """
44
def __init__(self, debug=False):
45
self.debug = debug
46
# A lock to hold whenever you don't want modules unloaded:
0 commit comments