1

After getting into the live share for VS Code, which does work, the shared server option does not work. After running "npm run dev", the local host shows up in the "Shared Server" tab in VS Code. After trying to open the Shared Server, the server is just permanently loading. It doesn't even show the tab preview. The Shared Server shows up for the host, but not for any other participant. The connection mode was changed from relay to auto and direct, but it still doesn't work.

Loading Tab

  • Related docs: https://learn.microsoft.com/en-us/visualstudio/liveshare/use/share-server-visual-studio-code – starball Apr 06 '23 at 02:49

1 Answers1

0

I resolved this problem (in a Vue 3 + Vite project) by configuring the dev server to be exposed to the network. This setting will depend on the dev server you're using, but is often a CLI flag like --host. For Vite the setting is here.

Alex
  • 1