vocs icon indicating copy to clipboard operation
vocs copied to clipboard

Do not crash on syntax errors

Open cpojer opened this issue 1 year ago • 2 comments

Vocs currently crashes when it discovers syntax errors in:

  • MDX files
  • CSS files
  • Maybe others?

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.

cpojer avatar May 13 '24 00:05 cpojer