-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TS Server keeps checking for files under node_modules/@typescript
even when that directory doesn't exist
#52707
Labels
Fix Available
A PR has been opened for this issue
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
Comments
RyanCavanaugh
added
the
Needs Investigation
This issue needs a team member to investigate its status.
label
Feb 17, 2023
sheetalkamat
added a commit
that referenced
this issue
Apr 17, 2023
sheetalkamat
added a commit
that referenced
this issue
Apr 17, 2023
sheetalkamat
added a commit
that referenced
this issue
Apr 18, 2023
sheetalkamat
added a commit
that referenced
this issue
Apr 18, 2023
sheetalkamat
added a commit
that referenced
this issue
Apr 18, 2023
sheetalkamat
added a commit
that referenced
this issue
Apr 18, 2023
sheetalkamat
added a commit
that referenced
this issue
Apr 20, 2023
sheetalkamat
added a commit
that referenced
this issue
Apr 20, 2023
sheetalkamat
added a commit
that referenced
this issue
Apr 20, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Fix Available
A PR has been opened for this issue
Needs Investigation
This issue needs a team member to investigate its status.
Related to #52695
Bug Report
🔎 Search Terms
Problem
Create a simple project with a single
.js
file and anode_modules
directory. I noticed that this results in typescript checking for the existence of the standard lib files undernode_modules/@typescript
:It makes two of these checks for every
lib
file, even thoughnode_modules/@typescript
does not exist. The results in 100 or so extra stat calls when you open a simple project consisting of a single.js
fileCould we avoid hitting the file system if the parent
node_modules/@typescript
directory not exist? These calls are fast enough on desktop but are slower on webThe text was updated successfully, but these errors were encountered: