summaryrefslogtreecommitdiff
path: root/django/utils
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils')
-rw-r--r--django/utils/autoreload.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py
index bf3b14609a..fc330eb87e 100644
--- a/django/utils/autoreload.py
+++ b/django/utils/autoreload.py
@@ -245,13 +245,6 @@ class BaseReloader:
logger.debug('Watching dir %s with glob %s.', path, glob)
self.directory_globs[path].add(glob)
- def watch_file(self, path):
- path = Path(path)
- if not path.is_absolute():
- raise ValueError('%s must be absolute.' % path)
- logger.debug('Watching file %s.', path)
- self.extra_files.add(path)
-
def watched_files(self, include_globs=True):
"""
Yield all files that need to be watched, including module files and