hot-reload

Flask hot reload not working in docker, the log indicates otherwise

Flask hot reload not working in docker, the log indicates otherwise Question: I run the following docker-compose.yml in PyCharm, which runs docker-compose up version: ‘3’ services: posts: environment: FLASK_DEBUG: 1 image: flask-blog-posts build: context: . dockerfile: ‘posts/Dockerfile’ ports: – "5001:5001" comments: environment: FLASK_DEBUG: 1 image: flask-blog-comments build: context: . dockerfile: ‘comments/Dockerfile’ ports: – "5002:5002" which …

Total answers: 2

How to automate browser refresh when developing an Flask app with Python?

How to automate browser refresh when developing an Flask app with Python? Question: I’ve started learning Flask to develop web applications. What I am realy missing is an automatic Browser refresh after any code change (including static files, templates, etc.). This seems to be a standard feature in almost any Javascript framework. Frontend people have …

Total answers: 4