Skip to content

Tsserver never picks up a new fileΒ #61663

@ipb26

Description

@ipb26

πŸ”Ž Search Terms

"tsserver does not pick up new files"

πŸ•— Version & Regression Information

This has been an issue for as long as I can remember.

⏯ Playground Link

No response

πŸ’» Code

No response

πŸ™ Actual behavior

I have an issue where tsserver (using code-server ide) refuses to pick up a new file in a node_modules for the purpose of intellisense / automatic imports. It picks up every other file in the same project and even the same folder, they all work fine with intellisense and automatic imports, but it will not pick up this one new file. Looking through the logs there is a relevant line for every other file in this project, but not the one I want. Not a single result in 50000 lines of logs if I ctrl+f the file name.

Manually typing in the import statement does work - the file is definitely there and valid and the ide recognizes it and picks up the correct types if I put it in manually.

Also restarting tsserver makes no difference no matter how many times I do it.

πŸ™‚ Expected behavior

Tsserver should pick up everything in node_modules.

Additional information about the issue

I just don't even know how to begin to debug this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs More InfoThe issue still hasn't been fully clarified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions