Open hlpmenu opened 1 month ago
Please edit your description to make it legible.
When posting code, configuration, or data, please wrap the text within backticks or use the </>
button in the menu.
my code
Please edit your description to make it legible.
When posting code, configuration, or data, please wrap the text within backticks or use the
</>
button in the menu.my code
Sorry, pasted it and the backticks were not kept
Out of curiosity, what happens if you disable PostCSS when running in development mode?
Out of curiosity, what happens if you disable PostCSS when running in development mode?
So, i did some testing, and removing the postCSS pipe/transform dident do anythng.
However, removing "| fingerprint" DOES fix it.
So: fingerprint + postcss = fails on rebuild postcss only = rebuilds as it should
I use scss to gen css , and it has the same problem, like this:
Now , I set back to v0.100.2 .
What version of Hugo are you using (
0.126.1
)?Does this issue reproduce with the latest release?
Yes
Setup
Hugo 1.125/126 PostCss Node 22
Issue
When using hugo pipes to process/generate a css file, and then using the css file in the html, since 0.125+ hugo tries to render the html pages before the css has ben processed, causing any change in a file detected by livereload to cause hugo server to fail, needing to be manually restarted.
This is due to the resource trying to be accessed not yet existing with message
Hugo server is ran like:
Restarting hugo server fixes it, and its only when livereload triggers a refresh.
Example: htmlfile.html
Inlining the css in the same file:
Fix
I havent had time to look trough the code but the issue started from 0.125+ and is only appearing when running hugo server and is consistently happening on every change livereload detects. Does disablefastrendersomehow not cause a full reload?