Autoreloading when .pyc files change is annoying
The first time I logged into the development environment, the following race condition was triggered:
- I clicked logged in
- Some python file was loaded for the first time (
psycopg2
'serrorcodes.py
) - cpython created the file
/venv/lib/python3.6/site-packages/psycopg2/__pycache__/errorcodes.cpython-36.pyc
- Whatever in the development environment does auto-reloading killed and restarted the server
- My request was interrupted, and an error page was shown in the browser
I imagine there is no value in reloading on .pyc
file changes: is there a setting where we can configure what types of files cause a reload?