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

Hugo v0.115.3 Disobeys 'disableLiveReload = true' Config Rendering Setting #11259

Closed
hollowaykeanho opened this issue Jul 17, 2023 · 7 comments
Closed

Comments

@hollowaykeanho
Copy link

Latest update broke the LiveReload settings where it disobeys the already existing configuration not to be rendered. This is not seen in hugo 0.111.3. Check screenshot:

screenshot

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

$ hugo version
hugo v0.115.3-5c2e014a5150553a9fa4f9c1eb7dc4db89c0f1ab linux/amd64 BuildDate=2023-07-13T16:11:34Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?

Yes

@bep
Copy link
Member

bep commented Jul 17, 2023

What exactly do you mean by this issue?

@bep bep added this to the v0.116.0 milestone Jul 17, 2023
@hollowaykeanho
Copy link
Author

Means when it is set to be disabled, it should not appear. Hence, the disobdience.

@bep
Copy link
Member

bep commented Jul 17, 2023

Means when it is set to be disabled, it should not appear. Hence, the disobdience.

When what is disabled?

@hollowaykeanho
Copy link
Author

hollowaykeanho commented Jul 17, 2023

disableLiveReload = true. Left side terminal is the setting being run. On the right, it is shown rendered at the Chrome debugger.

@hollowaykeanho hollowaykeanho changed the title Hugo v0.115.3 Disobeys Config Rendering Settings Hugo v0.115.3 Disobeys 'disableLiveReload = true' Config Rendering Setting Jul 17, 2023
@bep
Copy link
Member

bep commented Jul 17, 2023

OK,

Try

hugo server --disableLiveReload

I understand that this may have been possible to set in site config in earlier Hugo versions -- and that got lost in the big flag/commands/config consolidation/rewrite.

I will consider adding this to the main config set, but you will get a faster response by just using the flag.

@hollowaykeanho
Copy link
Author

I will consider adding this to the main config set, but you will get a faster response by just using the flag.

Understood. Thank you.

bep added a commit to gohugoio/hugoDocs that referenced this issue Jul 19, 2023
@bep bep closed this as completed in f1a061e Jul 19, 2023
@bep bep modified the milestones: v0.116.0, v0.115.4 Jul 19, 2023
@github-actions
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 Aug 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants