Fake autoload doesn't reboot or change
I have an app.py flask application for which I want to enable auto reloads. This is the entry point:
APP = Flask(__name__)
APP.config.from_object(os.environ['APP_SETTINGS'])
# a lot of configurations ommited
if __name__ == "__main__":
APP.run(debug=True, port=5005)
When I start the application, I get this in the terminal:
/Users/George/myproject/venv/bin/python /Users/George/myproject/app.py
* Running on http://127.0.0.1:5005/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger pin code: 338-825-330
and when I change one of my controllers it gets that the change happened:
* Detected change in '/Users/George/myproject/web_endpoints/user.py', reloading
but the change doesn't happen and if I make another change it never gets received (not reported in the terminal).
+3
source to share
No one has answered this question yet
Check out similar questions: