Forums

Why reload didn't refresh the new code?

I'm a bit baffled by the following behavior:

It's a flask app, the template/index.html has a new element and saved.

Upon the app reloading, the new element didn't show up, a modified Title is still showing the cold copy.

Tried to view them in 3 web browsers, all the same outcome.

I even rebooted my own computer.

What's going on? Thanks.

Are you using the "Reload" button on the "Web" page inside PythonAnywhere? Your browser's own page refresh button will not reload your code (including templates).

Of course, the PA's reload! But upon another reload, it worked. Just have to get comfy with its temperament :) Thanks.

Glad to hear that you made it!