Skip to content

Conversation

@kirkhansen
Copy link
Contributor

The implementation changes from path.match to path.full_match, which will cause breaking changes in patterns specified by users; previous *.py that would match python files will not actually work as the full path is now always matched; instead **/*.py is needed. Tests updated to showcase that in practice.

@BoboTiG
Copy link
Collaborator

BoboTiG commented Apr 23, 2025

Thank you, @kirkhansen!

Could you check failing jobs, add a line in the changelog, and maybe a note on the readme to explain the behavior change & what users might have to update on their side?

@kirkhansen kirkhansen force-pushed the issue-798 branch 3 times, most recently from 1a699e1 to ee261ee Compare April 23, 2025 19:19
Allows full directory matches and recursive patterns to succeed.
Copies in some python 3.13 code for earlier python compatibility
@BoboTiG BoboTiG merged commit 3d98d59 into gorakhargosh:master Apr 25, 2025
21 checks passed
TobiasRzepka pushed a commit to TobiasRzepka/watchdog that referenced this pull request Oct 11, 2025
Allows full directory matches and recursive patterns to succeed.
Copies in some python 3.13 code for earlier python compatibility

Co-authored-by: Kirk Hansen <[email protected]>
TobiasRzepka pushed a commit to TobiasRzepka/watchdog that referenced this pull request Oct 11, 2025
Allows full directory matches and recursive patterns to succeed.
Copies in some python 3.13 code for earlier python compatibility

Co-authored-by: Kirk Hansen <[email protected]>
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.

watchmedo does not support ignoring monitoring specific folder and its sub-folders

2 participants