You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @brillout. Wanted to ask if this is something on the radar? I kinda struggle to make this work with vite.
Alternative would be nodemon but I wish it couuld be done with vite and ideally with vite features applied
So far the recommended way is to use vanilla Node.js (or with
ts-node
) to run the user's Node.js server code (e.g. Express.js).The reason being that Vite has some troubles with server-only deps (vitejs/vite#4921, vitejs/vite#4230).
But these will get fixed and then we should start using Vite for server code as well. E.g.
vite-node
(antfu/vite-node#2), tsm, or esno. (antfu/vite-node#2 (comment).)The text was updated successfully, but these errors were encountered: