invert logic of default hot reload exclusion

This commit is contained in:
Khaleel Al-Adhami 2025-02-11 17:43:56 -08:00
parent 6cbdd00169
commit 70f30a35d2

View File

@ -278,7 +278,7 @@ def get_reload_paths() -> Sequence[Path]:
if path.name.startswith("__"):
# ignore things like __pycache__
return True
return path.name not in (".gitignore", "uploaded_files")
return path.name in (".gitignore", "uploaded_files")
reload_paths = (
tuple(