microsoft / microsoft/vscode-java-dependency

failed to stat a resource for file watching

Open
#695 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug upstream
Dominant language
TypeScript
Stars
199
Forks
105
Avg merge
1d 22h
Merged PRs (30d)
27

Description

Repro steps: Open spring-petclinic.

MainThreadFileSystem#$watch(): failed to stat a resource for file watching (extension: vscjava.vscode-java-dependency, path: file:///c:/Users/yanzh/Desktop/spring-petclinic/target/generated-sources/annotations, recursive: true, session: 0.2511242984362432): EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat 'c:\Users\yanzh\Desktop\spring-petclinic\target\generated-sources\annotations'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening the spring-petclinic project and tracing the MainThreadFileSystem#$watch() entry point for the vscjava.vscode-java-dependency extension. Investigate the reported ENOENT for target/generated-sources/annotations and define done as preventing the failed file-watching report when that resource is absent.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.