-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
hugo server does not update tags #9533
Comments
I am unable to reproduce the problem. Screencast.from.02-19-2022.10.07.29.AM.mp4 |
hmmm.... nice screen capture! Something must be different! I've put together a script to create a minimal hugo site in an empty directory, run The script and transcript of the output I get can be found in this github repo |
I can reproduce the problem when ranging over
I cannot reproduce the problem when ranging over
|
I've been using 0.97.2 for a few days now and can't see any real change to the behaviour (because no changes have happened yet? I'm not complaining, just stating my understanding of the current situation). Leaning on @jmooring's comment, I'm using a few different ranges in various layout templates:
So it seems that this only affects new terms. However, I noticed that other page updates don't propagate properly either. Side-note: I hope all of these problems are related and thus don't justify the creation of new issues. If I'm wrong, feel free to split them out. e.g.
The same is true when a page is just deleted. At some point I saw the same page listed twice in a listing after a move like this, but I can't reproduce it at the moment (hugo 0.97.2). Background: I add To reproduce the internal crash:
|
with the same problem when run in localhost (use: hugo server -D) ,if i add a new post with until i restart the server(use: hugo server -D),the tag filter list page is OK。 so,new tag need republish and restart the server to work? --------my new post was added(created) by other editor not by using "hugo new content xxxx" |
What version of Hugo are you using (
hugo version
)?hugo v0.93.0-DEV darwin/amd64 BuildDate=unknown
Does this issue reproduce with the latest release?
yes
Description
This may be a duplicate of #8863 "Hugo server detects change but does not update"I am just getting started with Hugo and migrating my data to markdown.
This means that I am creating lots of new pages with new tags.
Hugo server updates the pages instantly, and the tags are updated in the pages, but the list of tags shown by
layouts/_default/terms.html
(or more accurately,/tags
) is not.Killing and re-starting
hugo server
seems to be the only way to get them to update.Have I missed something?
Thanks
The text was updated successfully, but these errors were encountered: