You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on web project wide IntelliSense, I noticed that TS would try stating files outside of the current project root. Here's a trace of some fs.statSync on desktop. In this case the folder I have open is /Users/matb/projects/san/
I know this is how node tries resolving packages, but is this something we could avoid? When opening files, we pass in a projectRootPath that I believe is intended to prevent TS from opening files outside of the workspace
These calls are relatively fast on desktop but can be very slow on web as they hit the network. I had to add some extra logic to our virtual file system to avoid making these requests
The text was updated successfully, but these errors were encountered:
Related to #52695
Bug Report
🔎 Search Terms
Problem
While working on web project wide IntelliSense, I noticed that TS would try stating files outside of the current project root. Here's a trace of some
fs.statSync
on desktop. In this case the folder I have open is/Users/matb/projects/san/
I know this is how node tries resolving packages, but is this something we could avoid? When opening files, we pass in a
projectRootPath
that I believe is intended to prevent TS from opening files outside of the workspaceThese calls are relatively fast on desktop but can be very slow on web as they hit the network. I had to add some extra logic to our virtual file system to avoid making these requests
The text was updated successfully, but these errors were encountered: