Skip to content

Abnormal file system usage on macOS while running TypeScript #54683

Closed as not planned
@guillermo-avalos

Description

@guillermo-avalos

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:

  1. Create a new, blank Next.js project with npx create-next-app@latest (although any TS project will do)
  2. Run sudo fs_usage -w | grep 'Users/[username]/[project-location]/' --line-buffered to capture macOs' filesystem activity.
  3. Open the project in Visual Studio Code. Immediately after opening a few config files (although it's completely random), the filesystem usage will start an endless loop as you see in my screen capture.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions