1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

[2.2.x] Refs #27685 -- Removed "watchman unavailable" message.

Backport of 65ef5f467b from master
This commit is contained in:
Tom Forbes
2019-02-26 02:43:29 +00:00
committed by Tim Graham
parent d59c3fc167
commit 7331dd8a98

View File

@@ -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: