Skip to content

Refresh definition file (d.ts) after build on linked project  #22656

@mjbvz

Description

@mjbvz

From @moshfeu on March 14, 2018 7:54

  • VSCode Version: Version 1.21.0 (1.21.0)
  • OS Version: OS X 10.11.6 (15G17023)

Steps to Reproduce:

  1. Open a project folder with link (npm link) to another local project.
  2. The another project has d.ts file. So verify that you can go to definition of the project. (Click on F12 on a function from the another project. (You should be moved to the d.ts file in the node_modules/another_project/dist/d.ts)
  3. Update the d.ts file (for example: change the code and let webpack to update the d.ts).

Expected result:

VScode will refresh its intellisense and errors detection.

Actual result

It didn't. Even if I close and open the file. I need to close the vscode instance of my current project and open it again. Only then it count the updated d.ts.

Does this issue occur when all extensions are disabled?: Yes

Thanks!

Copied from original issue: microsoft/vscode#45738

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptNeeds More InfoThe issue still hasn't been fully clarifiedVS Code TrackedThere is a VS Code equivalent to this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions