-
Notifications
You must be signed in to change notification settings - Fork 375
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
[Bug?]: Dev server crashes when there is a syntax error #1222
Comments
The problem is only in dev. Importing |
should be fixed in latest version of solid start |
with-auth issue is fixed now. That being said @nksaraf if I go in any file and cause a JS syntax error, like mess up the closing tag of a JSX element or missing a closing bracket on a function etc... the dev server immediately crashes. |
FYI, in the latest version ( It happens even with the JSX errors, e.g. |
That comment was abojt the useSession being null. The dev server crashing on syntax error is not fixed yet |
I see this issue was closed on vinxi, but I am still experiencing this problem. |
can i get a precise repro. i have been trying to ssquash this issue and see it rarely myself now |
Looks like I'm wrong, the dev server indeed no longer crashes in the latest version. It prints a similar error, but doesn't crash. My bad! |
Duplicates
Latest version
Current behavior 😯
I have auto save enabled on my editor, and when I'm editing the code, there will be a temporary state where there is a syntax error, during this time the solid start / vinxi dev server crashes, and has to be restarted. This slows down development.
Here is the error:
Expected behavior 🤔
I would expect the dev server to print the error, then wait till the watcher sees a new version of the file, then use that updated file
Steps to reproduce 🕹
Steps:
Context 🔦
No response
Your environment 🌎
The text was updated successfully, but these errors were encountered: