Yield all files that need to be watched, including module files and files within globs.
(self, include_globs=True)
| 313 | self.directory_globs[path].add(glob) |
| 314 | |
| 315 | def watched_files(self, include_globs=True): |
| 316 | """ |
| 317 | Yield all files that need to be watched, including module files and |
| 318 | files within globs. |
| 319 | """ |
| 320 | yield from iter_all_python_module_files() |
| 321 | yield from self.extra_files |
| 322 | if include_globs: |
| 323 | for directory, patterns in self.directory_globs.items(): |
| 324 | for pattern in patterns: |
| 325 | yield from directory.glob(pattern) |
| 326 | |
| 327 | def wait_for_apps_ready(self, app_reg, django_main_thread): |
| 328 | """ |