Skip to content

tsserver: newly added files aren't consider being part of tsconfig.json until restart of the server #3593

@dbaeumer

Description

@dbaeumer

Steps to reproduce:

  • VSCode, empty workspace
  • add file provide.ts with the following content:

export function provide(): void {
}

Observe: you get a message about a missing module system configuration

export function provide2() {
}

Observe: you get AGAIN the message about a missing module system and you need to refresh VSCode. Looks like that the new file is added into a virtual project instead of being covered by the project configured by the tsconfig.json file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIRelates to the public API for TypeScriptBugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions