razon
August 4, 2023, 2:32pm
1
hugo server --gc --disableFastRender --enableGitInfo -D
I’ve to restart the Hugo server every time I modified the shortcodes, is there anything I missed?
EDITED: The issue only reaches on homepages (content/_index.md
), working fine for single pages.
I am unable to reproduce the problem as described.
git clone --single-branch -b hugo-forum-topic-45616 https://github.com/jmooring/hugo-testing hugo-forum-topic-45616
cd hugo-forum-topic-45616
hugo server --gc --disableFastRender --enableGitInfo -D
Then modify either of these:
layouts/shortcodes/foo.html
layouts/shortcodes/bar.html
The home page is updated.
razon
August 7, 2023, 9:55pm
3
Just confirmed that the issue occur on the nested shortcodes.
{{% bar %}}
THIS MODULE SHIPS WITH {{% features %}}.
{{% /bar %}}
The _layouts/shortcodes/features.html` as follows.
**FOOBAR2**
And then modify the features , the page won’t be got updated, it also affects the single pages.
I’m pretty sure this is a known issue.
1 Like
razon
August 7, 2023, 10:06pm
5
Thank you, should I create an GitHub issue for tracking this on GitHub? I didn’t find an opening related issue on GitHub.
system
Closed
August 9, 2023, 10:27pm
7
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.