Is your feature request related to a problem? Please describe.
Not quite. Most of my business logic lives in subdirectories but is orchestrated through a main.py and config.py in the top-level of the repo. Since tkreload only watches one file or the entrypoint, it misses the child directory (module) changes.
Describe the solution you'd like
Hot reload using a directory or multiple files (e.g., tkreload ., tkreload main.py core/ static/ utils/). If an executable file isn't automatically detected, could prompt the user for the filename, use kwargs, or env vars.
Describe alternatives you've considered
Could probably hack something together using the watchdog library, but tkreload works great for single files as-is.
Additional context
N/A
Is your feature request related to a problem? Please describe.
Not quite. Most of my business logic lives in subdirectories but is orchestrated through a
main.pyandconfig.pyin the top-level of the repo. Since tkreload only watches one file or the entrypoint, it misses the child directory (module) changes.Describe the solution you'd like
Hot reload using a directory or multiple files (e.g.,
tkreload .,tkreload main.py core/ static/ utils/). If an executable file isn't automatically detected, could prompt the user for the filename, use kwargs, or env vars.Describe alternatives you've considered
Could probably hack something together using the watchdog library, but tkreload works great for single files as-is.
Additional context
N/A