Skip to content

Conversation

@WillyJL
Copy link
Contributor

@WillyJL WillyJL commented Oct 6, 2025

What's new

  • For some reason VSCode still does not use gitignore to limit what files are watched for updates after 7 years, see Exclude gitignored files from file watcher microsoft/vscode#62725
  • Thus, many thousands of files are registered with the kernel to be watched for no reason at all, including every single commit object every created in any submodule and the repo itself
  • This either causes a warning that not all files can be watched for updates on Linux, or if bypassed with a higher limit it causes high cpu usage at vscode startup to register all these useless files and higher memory usage thereafter
  • This solution still watches git branches and logs to react to commits made outside vscode, and all source code files as expected, but ignored unnecessarily files that do not need to be watched for changes

Verification

  • [ Describe how to verify changes ]

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

@hedger hedger added the Build System & Scripts fbt, scripts and toolchain-related label Oct 8, 2025
Copy link
Member

@hedger hedger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks!

@hedger hedger merged commit 8ae710e into flipperdevices:dev Oct 8, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build System & Scripts fbt, scripts and toolchain-related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants