I am new to Flask and am implementing a tiny application. I successfully got it to display “Hello World” when visiting a certain web page, but I cannot change it to say “Hello World Again,” even if I change the code. Why is it still running the old code and how can I get it to run the new code? Thanks.
Share
You need to run the app in debug mode:
or
But remember, only do that in your development environment:
You could also use
use_reloader=Truewithout enabling debug mode, but that’s not a good idea since you really want the debugger during development.