Restarting server doesn't reflect latest changes

I’ve been working the last month with Hugo modifying HTML, CSS and JS files but I’ve found a little problem; sometimes even when I stop and restart the server it doesn’t show the latest changes I’ve made. I’ve done this multiple times with the same results.

Am I doing something wrong? Do I need a special parameter with hugo server?

I’m working with the 0.25.1 version.


Me too!

Changes in HTML, or CSS/JS? If the latter, do you have your browser cache disabled?

For me it is css and images that hang on after they are changed.
Clearing the browser’s cache has worked but that should be happening with Ctrl+F5 on Chromium (I believed…).
I was hoping for a hugo setting to get changes immediately.

I don’t know if it is the solution but when I upgrade to the latest version it started to work better

Have you tried:

hugo server --ignoreCache