-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Open
Labels
Description
Clear and concise description of the problem
When using vite without a index.html file for strictly a "library" or other script where /dis/.... is the only asset in interest, the only way we can currently run this locally is with vite build --watch paired with http-server for instance.
Is there any way to get a local http server for the static /dist assets with a watcher?
Suggested solution
vite preview --watch
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
z4o4z, ZakZheng, MrFrankel, zSoulweaver, Xeevis and 73 more