mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
The default `IGNORE_FILES` value of `'.*'` was being compiled to a regular expression and then passed into `watchfiles.DefaultFilter` to filter out files when autoreload is enabled. This commit compares the patterns from `IGNORE_FILES` directly with the filename to match the usage of `fnmatch` elsewhere in the codebase. The new filtering class will continue working as expected for custom `IGNORE_FILES` settings.
3 lines
333 B
Markdown
3 lines
333 B
Markdown
Release type: patch
|
|
|
|
Fix autoreload behavior upon changes to the theme, content or settings. The default `IGNORE_FILES` value is updated to recursively ignore all hidden files and the [default filters](https://watchfiles.helpmanual.io/api/filters/#watchfiles.DefaultFilter.ignore_dirs) from `watchfiles.DefaultFilter` are also used.
|