-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pelican -lr not reloading on content changes in 4.10.2 on Windows 11 #3431
Comments
I do not have access to any systems running Windows and thus cannot reproduce. I do not see much in the diff between 4.10.1 and 4.10.2 that would cause the described problem, but of course I cannot rule it out. @MinchinWeb: Could you run a few quick tests and see if you can confirm the problem described here? |
Sure thing! @mauricef , would you be able to run The drive you're watching, is it a local (i.e. attached to your computer) or network drive? Lastly, to confirm, you're remembering to save your (post) file after you change it? (I've been bitten by this an embarrassingly high number of times...) |
It looks like it's this change If I override IGNORE_FILES in pelicanconf.py and set it back to
Then the changes are detected |
Good to know. Do you have any idea why this change has that effect? In theory, it should only ignore invisible files and folders. |
I'm not sure, I'll play around with it some more, I see it gets translated to via fnmatch.translate and passed to watchfiles as a filter, I'll see if I can isolate the issue outside pelican. @MinchinWeb It's a local drive, I have confirmed I'm saving the file and here is pip freeze
|
@mauricef Thanks! I'll need some more time to dig into it, but I'll post back here |
@MinchinWeb running into the same issues on Ubuntu 22.04 with Pelican 4.10.2. The issue - I think - lies in 1edca55. It's the only meaningful commit between the two patch versions that could be the cause of the issue. |
[ x] I have read the Filing Issues and subsequent “How to Get Help” sections of the documentation.
[ x] I can reproduce this problem with stock/default settings file, theme, and sample content (as described in above “How to Get Help” sections of the documentation).
[ x] I have searched the issues (including closed ones) and believe that this is not a duplicate.
OS version and name: Windows 11 HOME
Python version: Python 3.12.4
Pelican version: 4.10.2
Link to theme: default
Links to plugins: default
Issue
I installed pelican 4.10.2[markdown] and ran the quickstart command and added a single article from the guide.
I run pelican -lr and editing the article does not cause an autoreload. If I downgrade to pelican 4.10.1, autoreload works as expected.
The text was updated successfully, but these errors were encountered: