DEV Community

See Kian Shim
See Kian Shim

Posted on

Keep Vite 4.0.4 server alive always

I'm trying to do development in react-admin with vite. I've done something and deployed to the ubuntu server for testing purpose. In the root folder of react-admin project under ubuntu, I'm triggering the Vite server with "yarn dev". Everything is running smoothly without any issue, the only annoying part is the project url was unreachable after 2 hours. I will need to trigger the Vite server with "yarn dev" again. Anyone have any idea to keep the Vite server keep alive without disconnect?

Latest comments (0)