-
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
Abnormal file system usage on macOS while running TypeScript #54683
Comments
Thanks @jakebailey. Adding that to VS Code |
There are other file watching methods that can be passed to that option; I just randomly chose one. You can also try File watching is fickle and we're working on this. Marking as a duplicate. |
Awesome. I'm glad this isn't only happening to me. I understand that file watching is necessary, just surprised that TS needs to watch every file randomly several times a second. |
This issue has been marked as 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
Bug Report
🔎 Search Terms
fs_usage
,file system usage
🕗 Version & Regression Information
5.1.3, but also happening with earlier versions.
🙁 Actual behavior
Endless loop of
fs_usage
activity.To Reproduce:
npx create-next-app@latest
(although any TS project will do)sudo fs_usage -w | grep 'Users/[username]/[project-location]/' --line-buffered
to capture macOs' filesystem activity.Screen capture of the issue: https://share.cleanshot.com/SYpRks7p
🙂 Expected behavior
This issue seems to be related to TypeScript. If I use a different code editor, such as Nova from Panic, that allows me to fully disable TS, the problem goes away. File system activity returns to normal. Immediately upon enabling TypeScript support, the loop starts yet again.
The text was updated successfully, but these errors were encountered: