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

LiveReload doesn't work with --disableFastRender option. #12730

Open
nureon22 opened this issue Aug 8, 2024 · 3 comments
Open

LiveReload doesn't work with --disableFastRender option. #12730

nureon22 opened this issue Aug 8, 2024 · 3 comments

Comments

@nureon22
Copy link

nureon22 commented Aug 8, 2024

I'm running development server with --disableFastRender option. My project contains SCSS files and I use dart sass to compile to CSS. When I make changes to my SCSS files, live reload doesn't happen. I also tried changes in HTML layout files but nothing reflect in browser. I also test on both latest Firefox and Chromium browsers. I built Hugo from source using go1.22.1 on Debian bookworm.

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.131.0+extended linux/amd64 BuildDate=unknown

Does this issue reproduce with the latest release?

Yes, I'm using latest release.

@bep
Copy link
Member

bep commented Aug 8, 2024

There should be very few situations in the current Hugo (this was not the situation some time ago) where --disableFastRender will somehow improve things, so I suggest you just drop that flag for now.

@nureon22
Copy link
Author

nureon22 commented Aug 8, 2024

--disableFastRender flag is very useful for me. Without this flag, when I change draft value in Markdown's front matter, Hugo doesn't regenerate HTML pages sometime. I'll be waiting for improvements in next releases. When it comes to static generator, Hugo is my favorite one 🥰.

@bep bep modified the milestones: v0.132.0, v0.133.0 Aug 14, 2024
@adrian5
Copy link

adrian5 commented Aug 18, 2024

I have this issue on v132 without --disableFastRender (Firefox). It didn't occur for me in v129, which I used until recently. Should I open a new issue Bjørn?

Edit: LiveReload appears to work with CSS, but not SCSS.

@bep bep modified the milestones: v0.133.0, Unscheduled Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants