Skip to content

Packages pnpm linked from outside the workspace trigger no watch events when changed #2686

@andrewbranch

Description

@andrewbranch

Extension Version

main

VS Code Version

Insiders today

Operating system Version

macOS

Steps to reproduce

  1. pnpm link in a local package from outside the workspace (I assume npm link repros this too)
  2. Import something from the package
  3. Delete or rename that import in another editor, then build

Issue

No watch change is fired, so not only do we not refresh diagnostics, you basically have to restart the server to pick up the change, since we have a cached view of the file. Deleting and re-adding the import isn't sufficient.

Metadata

Metadata

Assignees

Labels

Domain: EditorRelated to the LSP server, editor experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions