-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Open
Labels
Description
Clear and concise description of the problem
Some users have brought up that they want live reload temporarily disabled.
The use case is that they are modifying styles in the browser inspector instead of modifying the project files. Once they are done with styles modifications, they go through their changes and copy them to the project files. If you have live reload enabled when you do this then a full page reload can take place after the first changes are copied to a project file and that file is saved. When this happens, all remaining changes are lost.
Suggested solution
Allow listeners like vite:beforeFullReload to call payload.preventDefault() which will stop client.js from taking any actions.
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Reactions are currently unavailable