Skip to content

[Bug]: multiple code-server windows opened with code-server  #5339

Closed
@jsjoeio

Description

@jsjoeio

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: any
  • Local OS: any
  • Remote OS: any
  • Remote Architecture: any
  • code-server --version: 4.5.0

Steps to Reproduce

  1. open code-server
  2. inside terminal, run code-server .
  3. do it again
  4. see each window try to open a new code-server window

Expected

only the window where the command was run should try to open

Actual

each open window tries to open another window

Logs

No response

Screenshot/Video

mark--.mp4

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

Found in Code v1

Maybe here

yeah we just send a message to the socket
so if it is opening in multiple windows it might be on the vs code side
so all windows share the socket
and they all get the same message

image

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions