-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Do not crash on syntax errors #163
Comments
Correction, it does not always crash when there are syntax errors in MDX files, but it does happen. I'll share concrete repros when I run into them. |
Example crash in an MDX file. I was typing out the style prop in a div, and I saved in the following state: <div style={{mar}}>
Text
</div>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vocs currently crashes when it discovers syntax errors in:
This can be observed by saving a file with a syntax error while the vocs server is running. Instead of showing an error on the client, it will usually crash instead. Ideally it should never crash like Vite itself.
The text was updated successfully, but these errors were encountered: