-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
How do you expect any help without posting how you run your app nor any code (ideally a minimal example)? But a wild guess would be that you run it at import time and it runs once and then again when the reloader restarts the app within the reloader. In any case, this is something for discussions and not an issue. |
Beta Was this translation helpful? Give feedback.
-
Remember to search first. I literally searched for "flask twice" and got this as the first result: https://stackoverflow.com/questions/25504149/why-does-running-the-flask-dev-server-run-itself-twice |
Beta Was this translation helpful? Give feedback.
Remember to search first. I literally searched for "flask twice" and got this as the first result: https://stackoverflow.com/questions/25504149/why-does-running-the-flask-dev-server-run-itself-twice