How to prevent flask from opening preview window on each run?
I am coding a discord bot using python. After making changes i need to run the app again. And this loads the window each time, that i don’t want to open as i can perfectly see the output on output console. How can i prevent browser preview from loading?
Edit: my keep_alive.py file:
that's not what flask does, that's what replit does.
When you run a repl, replit refreshes the browser window because usually flask apps are made so that they change and users expect to see that.
Is there a problem with the flask app refreshing?
at the botttom when you run if you dont have debug=True try that or if you have it take it off