Skip to content

[Bug]: code-server ignores path argument and always opens last location #5195

Closed as not planned
@lanrat

Description

@lanrat

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: macOS
  • Remote OS: Linux
  • Remote Architecture: amd64
  • code-server --version: 4.2.0 693b1fa with Code 1.64.2

Steps to Reproduce

  1. open code-server on directory foo: code-server /path/to/project/foo
  2. close/kill/stop code-server
  3. open code-server on directory bar: code-server /some/other/path/bar

Expected

For code-server to run with the project base in /some/other/path/bar.

Actual

code-server runs with the project base /path/to/project/foo

Logs

No response

Screenshot/Video

No response

Does this issue happen in VS Code?

  • I cannot reproduce this in VS Code.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

This has worked fine until recently.

Using over SSH tunnel, NOT HTTPS.

Metadata

Metadata

Assignees

Labels

enhancementSome improvement that isn't a feature

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions