aws-toolkit-vscode
aws-toolkit-vscode copied to clipboard
watchedFiles fails to watch nested files on linux
Problem
recursive file watching doesn't work on linux since vscode 1.67 ...?
this test fails:
1) CloudFormation Template Registry
adds dynamically-added template files with yaml and yml extensions at various nesting levels:
Error: Timed out waiting for registry to populate. Actual item count: 1. Expected item count: 2.
comparing logs shows that we don't get an event for the nested file:
- CloudFormationTemplateRegistry: manager detected a new file: .../src/testFixtures/workspaceFolder/1/nested/test.yaml
CloudFormationTemplateRegistry: manager detected a new file: .../src/testFixtures/workspaceFolder/1/test.yml
- https://github.com/aws/aws-toolkit-vscode/pull/2622#issuecomment-1120001687
Solution
- find root cause
- report upstream?
related? https://github.com/microsoft/vscode/issues/148245