I have the same issue, it was fine for a long time, then it sometimes it doesnt refresh, but then it worked sometimes as well, then suddenly stopped working altogether. Version 0.125. hugo server
command.
On Windows, Firefox Developer Edition.
I think it’s a cache issue because if I leave it long enough and then do something to the CSS (I’m using PostCSS / TailwindCSS), it’ll reload the browser with the new style automatically, but then if I keep making changes, the CSS doesn’t get processed, no output. Console does show changes detected on the CSS file I changed, the public/css file doesnt change. The fingerprint doesn’t change either.
No issues with hugo
or if I delete the public folder and rerun hugo server
newest changes will be in, but any futher change I make to the CSS won’t be writtten to public
.
These does nothing for this situation:
hugo server --ignoreCache
! set cacheDir in hugo.toml to a directory in my project to see what’s happening with the cache. Directory remains empty.
Edit: HTML doesn’t work either, changes are detected, but nothing is generated. No error reported.