Closed fredericrous closed 5 months ago
I am experiencing similar issues with syntax errors. While editing files and using the vs-code autosave feature, my dev server constantly crashes.
[vite] Internal server error: Transform failed with 1 error
I am wondering if there is a better solution than just turning off the autosave feature. Has anyone found a solution?
It's the same issue as #638, there is a pretty decent solution written there. It's not 100%, but it can work.
Closing this in favor of #638
I'm using a monorepo with pnpm. My Epic Stack project has a dependency on another workspace
when
my-react-lib
gets rebuilt, the built artefact gets removed for a sec and the new one replaces itwhen this happens, dev-server crashes with an error that looks something like
By it crashes, I mean, when I reload the browser to show my-page, chrome says
This site can’t be reached ERR_CONNECTION_REFUSED
workaround: restart the dev-server manually: Ctrl+C, and then
npm run dev
I tried to fix this issue by myself but all my attempts have failed so far