Vite dev fails with tunnelto (but vite preview works)
- Lenguaje dominante
- Rust
- Estrellas
- 7.1k
- Forks
- 547
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
## Problem
Not sure why, but `vite dev` fails with `tunnelto`.
`vite dev` is a live server for js front ends that isn't compiled into an artifact but updates as code is saved.
## Current Workaround
Something that I've found to work instead is `vite preview`, which won't change as you save, but will work for `tunnelto`.
Just using a basic server to serve the `build` folder (actually the `dist` folder in the vite case by default) also fails in my case because the api proxy that the vite live server uses doesn't come on by default.
`vite preview` allows you to serve from the artifact in a way that works for tunnelto and also access the api as though you were using a live build.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.