summaryrefslogtreecommitdiff
path: root/django/utils/autoreload.py
diff options
context:
space:
mode:
authorTom Forbes <tom@tomforb.es>2019-02-26 02:43:29 +0000
committerTim Graham <timograham@gmail.com>2019-02-25 21:42:14 -0500
commit7331dd8a989465c3deed0db4e37ebbdf9d60bb71 (patch)
tree5c09d055c4d4925b1248e22acc7d112df0e3ad20 /django/utils/autoreload.py
parentd59c3fc1676fbcce0e1d10431bf7963c7de077db (diff)
[2.2.x] Refs #27685 -- Removed "watchman unavailable" message.
Backport of 65ef5f467ba84c26392a157de1622d805401ec7d from master
Diffstat (limited to 'django/utils/autoreload.py')
-rw-r--r--django/utils/autoreload.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py
index 736e88cfe9..383998cfce 100644
--- a/django/utils/autoreload.py
+++ b/django/utils/autoreload.py
@@ -578,10 +578,6 @@ def run_with_reloader(main_func, *args, **kwargs):
logger.info('Watching for file changes with %s', reloader.__class__.__name__)
start_django(reloader, main_func, *args, **kwargs)
else:
- try:
- WatchmanReloader.check_availability()
- except WatchmanUnavailable as e:
- logger.info('Watchman unavailable: %s', e)
exit_code = restart_with_reloader()
sys.exit(exit_code)
except KeyboardInterrupt: