Skip to content
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

.Content doesnt rebuild when dynamically-called partial inside hooks modified #10423

Closed
pamubay opened this issue Nov 7, 2022 · 3 comments
Closed

Comments

@pamubay
Copy link

pamubay commented Nov 7, 2022

What version of Hugo are you using (hugo version)?

hugo v0.106.0-DEV-77fc74a5b20f50298ac4a1cd88e436932fc2226f+extended linux/amd64 BuildDate=2022-10-28T12:41:15Z VendorInfo=mage

Does this issue reproduce with the latest release?

Yes

Bug

In server mode .Content doesnt rebuild when dynamically-called partial template inside markdown render hooks modified

How-to reproduce

  1. start hugo server, then open browser.
  2. modify layouts/partials/dynamic-render-link.html,
  3. Add some random character
  4. Changes detected, site rebuild but .Content doesnt update with new changes

All markdown hooks affected, link,image, heading, codeblock.

Also tested using --disableFastRender still doesnt work.

Demo

https://github.com/pamubay/markdown-hooks-dynamic-call

Thank you.

@jmooring
Copy link
Member

jmooring commented Nov 7, 2022

Similar to, or perhaps a duplicate of, #8863.

@bep
Copy link
Member

bep commented Nov 8, 2022

I'm closing this as a duplicate. I'm currently working on a more robust setup that should handle this.

@bep bep closed this as completed Nov 8, 2022
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants