-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
server: List page doesn't update after creating content #12362
Comments
On what OS does this fail? Windows? |
OP: hugo v0.124.1+extended linux/amd64 BuildDate=unknown |
I have tested this again and cannot reproduce this on MacOS. I may eventually spin up a Linux VM and test this, but that may take some time. |
I have a test repo that log the filesystem events for the different OSes. Looking at it now I see for created regular files: MacOS:
Ubuntu:
In the But the above can explain what's seen above. I'll take another look. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Reference: https://discourse.gohugo.io/t/hugo-server-d-doesnt-show-new-posts-consistently/49266
This worked as expected < v0.123.0.
archetypes/default.md
layouts/_default/list.html
content
actions
Run
hugo server
and look at the home page. You'll seep1|
as expected.In a new terminal, while the server is running, create a new page:
expected
The home page should display
p1|p2|
actual
The home displays
p1|
(no change)test case
This isn't very helpful because it passes, but perhaps it will be useful as the basis for a different test.
integration test
The text was updated successfully, but these errors were encountered: