Replies: 1 comment
-
Try https://github.com/axe-me/vite-plugin-node. I am running an express API along with remix using the express adapter. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been using the Remix App Compiler to reload my express server when files change. My app uses a lot of logic in the
AppLoadContext
and a fair amount of file changes happen there. It also uses websockets that have a similar context concept. With vite and express it seems I'll need to implement my own reload tool (nodemon or similar).Since I'll be restarting the server over and over it will also restart vite and it's dev server middleware. (Probably messing with it's livereload, and build pipeline) Is there a recommended configuration for this setup?
Beta Was this translation helpful? Give feedback.
All reactions