-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Make livereload work with Turbolinks #6821
Comments
… if possible This makes it work with Turbolinks. Fixes gohugoio#6821
… if possible This makes it work with Turbolinks. Fixes gohugoio#6821
… if possible We used to insert the livereload script right before the closing body. This dord not work when combined with tools such as Turbolinks. This commit changes it So we try to inject the script as early as possible. Fixes gohugoio#6821
… if possible We used to insert the livereload script right before the closing body. This dord not work when combined with tools such as Turbolinks. This commit changes it So we try to inject the script as early as possible. Fixes #6821
In #6821 we moved the loading from end of body to head to make Turbolinks and similar work. This commit adds a defer attribute to avoid page parse blocking.
Sorry to bump this thread, but, is it finally working? I am using latest Hugo version (0.74.3), but, I can't get Turbolinks to work with EDIT: Sorry about the comment. It seems to be working now without any change on my end. |
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. |
The current workaround is
hugo serfver --disableLiveReload
, which is ... suboptimal.The text was updated successfully, but these errors were encountered: