Open
Description
Duplicate Check
- I have searched the opened issues and there are no duplicates
Describe the bug
I'm trying to use the hot reload feature by running "flet run main.py -d", but everytime i make a change, my app crashes (?), for example in this code, where i just deleted one letter to the word worlddd, it crashed and didnt make the change.
When I use --web, the hot reload does work as expected, but when i run it as a desktop app, it doesnt.
Code sample
Code
import flet as ft
def main(page: ft.Page):
page.title = "CRUD SQLITE"
page.window.min_height = 500
page.window.min_width = 500
page.theme_mode = "dark"
page.add(ft.Text("Hello Worldd!"))
if __name__ == "__main__":
ft.app(target=main, view=ft.AppView.FLET_APP)
To reproduce
- Run the code
- Make a change in the code
- See it doesnt changes
Expected behavior
I would expect the hot reload to work properly
Screenshots / Videos
Captures
[Upload media here]
Operating System
Windows
Operating system details
Windows 11 pro 23H2
Flet version
0.24.1
Regression
I'm not sure / I don't know
Suggestions
No response
Logs
Logs
[Paste your logs here]
Additional details
No response