Skip to content

Add a way to exclude folders from being watched #2073

@griest024

Description

@griest024

🚀 feature request

Description

A clear and concise description of the problem or missing capability...

The angular language server uses a lot of file watchers. In a fairly large workspace, vscode and the TS extension are using <100k watchers combined. The angular extension uses >350k watchers by itself.

I am able to ignore many directories in vscode's settings that drastically reduce the watchers used (namely .nx_cache). However the angular language server does not respect these settings. Deleting the directories that I feel should be ignored brought Angular's file watchers to around 30k.

Feature Type

  • Angular Language Service VSCode extension
  • Angular Language Service server

Describe the solution you'd like

I would like some way to configure the Angular extension such that certain directories of my choosing will be ignored and not have file watchers installed.

Describe alternatives you've considered

I've considered not using the Angular extension

Anything else relevant?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions