aws-toolkit-vscode icon indicating copy to clipboard operation
aws-toolkit-vscode copied to clipboard

watchedFiles fails to watch nested files on linux

Open justinmk3 opened this issue 2 years ago • 0 comments

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

  1. find root cause
  2. report upstream?

related? https://github.com/microsoft/vscode/issues/148245

justinmk3 avatar May 10 '22 02:05 justinmk3