You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Editor autosave (triggered by delays or loss of focus) may save incomplete files if a user pauses to think or switches tabs, leading to parse failures in updateLocalizations during HMR. Uncaught errors in updateLocalizations then cause the whole app to crash, which is undesirable.
Reproduction
Saving incomplete locale files during dev crushes the whole app.
Steps to reproduce
Run pnpm dev to start the app
Modify and save incomplete locale files (.yaml files for example) which would cause parse error
Describe the bug
Editor autosave (triggered by delays or loss of focus) may save incomplete files if a user pauses to think or switches tabs, leading to parse failures in
updateLocalizations
during HMR. Uncaught errors inupdateLocalizations
then cause the whole app to crash, which is undesirable.Reproduction
Saving incomplete locale files during dev crushes the whole app.
Steps to reproduce
pnpm dev
to start the appSystem Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: