-
Notifications
You must be signed in to change notification settings - Fork 191
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
Fire an event before reloading #82
Comments
You mean |
You are right, yes. The
So adding this line in CustomEvents.fire(document, 'LiveReloadReload'); Should I open a pull request or can someone else implement this? Also - does this require a test? |
A PR would definitely be appreciated, thanks! |
The
LiveReload
object receivesLiveReloadConnect
/LiveReloadDisconnect
events. Would it be possible/reasonable to trigger aLiveReloadBeforeReload
event (or something similar) before the actual reloading is done? This will allow to distinguish between user initiated navigation and the reloading done bylivereload-js
.The text was updated successfully, but these errors were encountered: