samuelcolvin / watchfiles

Simple, modern and fast file watching and code reload in Python.
https://watchfiles.helpmanual.io
MIT License
1.75k stars 108 forks source link

.pyd ignored pattern is added back by PythonFilter.extensions #255

Closed minusf closed 3 months ago

minusf commented 11 months ago

Description

Not sure if oversight or by design:

...
    ignore_entity_patterns: Sequence[str] = (
        r'\.py[cod]$',
...
        self.extensions = ('.py', '.pyx', '.pyd') + tuple(extra_extensions)

Example Code

No response

Watchfiles Output

.

Operating System & Architecture

.

Environment

.

Python & Watchfiles Version

.

Rust & Cargo Version

.

samuelcolvin commented 3 months ago

then use the default filter.