New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reload takes > 60 seconds #1353
Comments
Ok, I did some research and can say that reload is actually happening. The thing is that watchdog-reload won't work under vagrant, virtualbox, and probably docker as well. This is not the reloader's fault, just how the underlying inotify works. For reload to work under guest os you need to use stat reloader. It actually takes about 90 seconds to do a single reload with stat reloader consuming 123% of CPU. That is for us and our project. The exact response time and CPU will depend on the number of files in your project. There is this pull request pallets/werkzeug#669 that will allow you to regulate what files are being watched. Not yet on PyPi though. Right now we are rolling or own reload solution will werkzeug master and poke. |
Please continue in pallets/werkzeug#682, we did some major changes to the reloader which could have caused serious regressions. |
Hi everyone!
Since I updated werkzeug to 0.10.1 this morning reloader stopped working. Is any specific configuration required besides installing watchdog?
I run with:
I'm under vagrant and tried both with and without NFS to no success.
The text was updated successfully, but these errors were encountered: