
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f6364ce8-2d3e-401b-9d00-010c95322f42n%40googlegroups.com.
Why did he report an error?It's 'Watching for file changes with StatReloader'
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABDkUHbpJprWKJ-2vnQDuLqVBX8%2BXWQ1ykPax-fsnYk0Gje5Ww%40mail.gmail.com.
--
Its the class that django uses to auto reload the development server whenever you make code changes .
Specifically, determined within the get_reloader method where watchman is an alternative for linux / macOS
If you’re using Linux or MacOS and install both pywatchman and the Watchman service, kernel signals will be used to autoreload the server (rather than polling file modification timestamps each second). This offers better performance on large projects, reduced response time after code changes, more robust change detection, and a reduction in power usage.
No idea why its in red in pycharm but if you really wanted to you can disable it with the --noreload flag
Got this from Stack Overflow. Hope this helps!To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d225fdf4-678e-40e0-ac5a-69e43a9daaa1n%40googlegroups.com.