Skip to content
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

server: Browser does not refresh after updating Sass file #12395

Closed
jmooring opened this issue Apr 19, 2024 · 2 comments · Fixed by #12400
Closed

server: Browser does not refresh after updating Sass file #12395

jmooring opened this issue Apr 19, 2024 · 2 comments · Fixed by #12400

Comments

@jmooring
Copy link
Member

jmooring commented Apr 19, 2024

This worked fine in v0.122.0, and fails with v0.123.0 and later.

git clone --single-branch -b hugo-forum-topic-49365 https://github.com/jmooring/hugo-testing hugo-forum-topic-49365
cd hugo-forum-topic-49365
hugo server

While the server is running, edit themes/sasstest_theme/assets/scss/index.scss, changing h1.color from red to blue. The site title should change from red to blue.

Reference: https://discourse.gohugo.io/t/changes-to-sass-stylesheets-are-not-reflected-in-the-browser-via-live-reload/49365

@bep
Copy link
Member

bep commented Apr 20, 2024

Tip: Most "browser doesn't refresh after 0.123" issues can be worked around with https://gohugo.io/getting-started/configuration/#configure-cache-busters -- the above should work out of the box, though.

Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants