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
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
Describe the bug
vite preview --host
allows accessing from another device, but it doesn't log the host address:Comparison with the dev server
vite --host
:Reproduction
https://stackblitz.com/edit/vitejs-vite-iu3cw2?devtoolsheight=33&file=package.json
Enter
npm run serve
in the terminalSystem Info
System: OS: Linux undefined CPU: (4) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: Unknown - /bin/jsh Binaries: Node: 14.16.0 - /usr/local/bin/node Yarn: 1.22.10 - /bin/yarn npm: 7.17.0 - /bin/npm npmPackages: vite: ^2.6.4 => 2.6.10
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: