Open iamDyeus opened 3 hours ago
Hey! I tried to reproduce the bug. I have installed the dependcies as well.
After running the following command:
tkreload example/sample_app.py
I get the app running and the following output is displayed. Tkreload is running ✅
But when I make any change in the sample_app.py, I don't see the tkinter file reloading. Can you please elaborate where I may be wrong? Once I reproduce this error I think I can fix this bug.
Describe the bug In the demo GIF, the app reloads three times, whereas it should only reload once. This issue occurs specifically when auto-reload is enabled and needs to be addressed.
To Reproduce Steps to reproduce the behavior:
sample_app.py
while running it usingtkreload
.Expected behavior The app should reload only once for each change, rather than three times.
Screenshots
Additional context It might be worth increasing the time buffer after which file changes are monitored in main.py. Also, ensure that the relevant tests are updated accordingly after fixing this issue.