This seems like a problem a lot of folks have.
I completely changed my index.html page. Then saved changes, stopped and re-ran server.py which has the following code:
from flask import Flask, render_template app = Flask(__name__) @app.route('/') def home(): return render_template('index.html') if __name__ == "__main__": app.run(debug=True)
I have saved changes, stopped and re-run flask from terminal using >> set FLASK_APP=server.py >> flask run. I have also tried clearing browser cache and retried on multiple browsers. I have tried shift+reload Previously it used to work on completely closing Pycharm and restarting. However even that isn't working anymore.
- Apart from displaying text that no longer exists in index.html, the Debugger Console is also showing the following error: 127.0.0.1 - - [22/Jul/2021 17:29:58] "GET /favicon.ico HTTP/1.1" 404 - My pointer to the file location is correct: But just to make sure I copy pasted favicon.ico in every damn folder in the project.
I have tried "save all" on my project several times. Stopped and started debugger several times. Any other solution I left out?