Skip to content

Fix .gitignore search in FileWatcher#598

Open
LaryStef wants to merge 1 commit intotaskiq-python:masterfrom
LaryStef:fix-filewatcher-gitignore
Open

Fix .gitignore search in FileWatcher#598
LaryStef wants to merge 1 commit intotaskiq-python:masterfrom
LaryStef:fix-filewatcher-gitignore

Conversation

@LaryStef
Copy link

@LaryStef LaryStef commented Feb 28, 2026

Summary

When using --reload-dir, the FileWatcher can't find .gitignore file since it only looks in the watched directory, not in the project root.

Changes

  • FileWatcher now start searching for .gitignore in --reload-dir directory and goes upper until it reaches project root.

Fixes #591 issue.
I suppose it was broken first time here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FileWatcher only looks for .gitignore in watched directory, not project root

1 participant