-
-
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: Newly created files are not rendered on refresh #12054
Milestone
Comments
jmooring
changed the title
server: Newly created files are not rendered on refresh in 0.123
server: Newly created files are not rendered on refresh
Feb 17, 2024
I have tested this without any issues (took it for a spin now), so you need to be more specific. |
Okay, take this example site.
In hugo 0.122 everything works as expected. |
bep
added a commit
to bep/hugo
that referenced
this issue
Feb 18, 2024
The partial rebuilds works by calaulating a baseline from a change set. For new content, this doesn't work, so to avoid rebuilding everything, we first try to collect a sample of surrounding identities (e.g. content files in the same section). This commit fixes a flaw in that logic that in some cases would return a too small sample set. Fixes gohugoio#12054
bep
added a commit
to bep/hugo
that referenced
this issue
Feb 18, 2024
The partial rebuilds works by calaulating a baseline from a change set. For new content, this doesn't work, so to avoid rebuilding everything, we first try to collect a sample of surrounding identities (e.g. content files in the same section). This commit fixes a flaw in that logic that in some (many...) cases would return a too small sample set. Fixes gohugoio#12054
bep
added a commit
that referenced
this issue
Feb 18, 2024
The partial rebuilds works by calaulating a baseline from a change set. For new content, this doesn't work, so to avoid rebuilding everything, we first try to collect a sample of surrounding identities (e.g. content files in the same section). This commit fixes a flaw in that logic that in some (many...) cases would return a too small sample set. Fixes #12054
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When you start server, and then create a page, it won't appear in rendered pages list. Hugo notices the change, runs rebuild, but the lists stay the same. If you restart hugo, new page appears in the list.
Also, in some more complicated scenarios, new pages do appear in the lists, but they have empty content (empty title, empty content), even though it is not empty.
The text was updated successfully, but these errors were encountered: