-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Auto-reloading does not function properly if the application is run from a directory other than the one containing the script.
Steps to Reproduce:
- Run a Tkinter application using
tkreload example/sample_app.pyfrom a directory outsideexample.- Result: The application launches successfully, and manual reload works, but auto-reload does not.
- Change to the script's directory (
cd example) and runtkreload sample_app.py.- Result: Auto-reload works as expected.
Expected Behavior:
Auto-reloading should work regardless of the current working directory when the script is executed.
Actual Behavior:
Auto-reload only works if the script is run from its containing directory.
This issue may be related to how file paths are resolved during auto-reload.
pythoninthegrass
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working