uvicorn
uvicorn copied to clipboard
reload_dirs does not work as expected when watchfiles is installed
Initial Checks
- [x] I confirm this was discussed, and the maintainers suggest I open an issue.
- [x] I'm aware that if I created this issue without a discussion, it may be closed without a response.
Discussion Link
https://github.com/encode/uvicorn/pull/2598
Description
From #2598, the reload_dirs works as expected
However, when there is watchfiles installed, reload_dirs still includes all files in Path.cwd()
Python, Uvicorn & OS Version
0.34.2
Could be related to this: https://github.com/encode/uvicorn/discussions/2389
This issue appears to be fixed in the latest release (v0.37.0)
@tri-dataxight can you please re-verify?