This PR debounces the allFiles watcher in the home view that drives updates to the Project Files view. This watcher is triggered on FS events anywhere in the workspace. Other file watchers (for configurations, package files, etc) are unchanged.
Fixes #1735
Type of Change
[x] Bug Fix
[ ] New Feature
[ ] Breaking Change
[ ] Documentation
[ ] Refactor
[ ] Tooling
Approach
Use the npm debounce package.
Directions for Reviewers
Run a process that creates lots of files, for example, creating a virtual environment and installing a collection of packages into it. Review the backend logs for Files API calls, and see that they don't occur too frequently.
Intent
This PR debounces the allFiles watcher in the home view that drives updates to the Project Files view. This watcher is triggered on FS events anywhere in the workspace. Other file watchers (for configurations, package files, etc) are unchanged.
Fixes #1735
Type of Change
Approach
Use the npm
debounce
package.Directions for Reviewers
Run a process that creates lots of files, for example, creating a virtual environment and installing a collection of packages into it. Review the backend logs for Files API calls, and see that they don't occur too frequently.