-
-
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 refresh page when using resources.Concat #12017
Comments
OK, I have now found the root cause of this issue, which I'm going to fix tomorrow. |
I also get the issue with hugo not updating in server mode when I edit translation files. Not sure if it is related and if I should post it as a separate issue. For me it happens in the situation where original language page file is in markdown, but translations are in html. And when I edit html translation file (page content, title or anything in the front matter) hugo notices the change, runs rebuild, but nothing changes in render. Using build 21d9057. |
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/48181
I am convinced this is related to
resources.Concat
. The test case worked in v0.122.0. Git bisect says 7285e74 is the first "bad" commit, but that isn't terribly helpful.Setup
layouts/partials/css.html
layouts/index.html
The test case only has one CSS file, but the number of files concatenated is irrelevant.
Example
Then modify assets/a.css while the server is running. The page does not refresh.
The text was updated successfully, but these errors were encountered: