(sender, file_path, **kwargs)
| 53 | |
| 54 | @receiver(file_changed, dispatch_uid="template_loaders_file_changed") |
| 55 | def template_changed(sender, file_path, **kwargs): |
| 56 | if file_path.suffix == ".py": |
| 57 | return |
| 58 | for template_dir in get_template_directories(): |
| 59 | if template_dir in file_path.parents: |
| 60 | reset_loaders() |
| 61 | return True |
nothing calls this directly
no test coverage detected