MCPcopy Create free account
hub / github.com/EasyIME/PIME / watch

Function watch

python/python3/tornado/autoreload.py:147–152  ·  view source on GitHub ↗

Add a file to the watch list. All imported modules are watched by default.

(filename: str)

Source from the content-addressed store, hash-verified

145
146
147def watch(filename: str) -> None:
148 """Add a file to the watch list.
149
150 All imported modules are watched by default.
151 """
152 _watched_files.add(filename)
153
154
155def add_reload_hook(fn: Callable[[], None]) -> None:

Callers 1

mainFunction · 0.85

Calls 1

addMethod · 0.45

Tested by

no test coverage detected