apex-dev-tools / apex-ls

Apex language server library
Other
2 stars 1 forks source link

Indexer fails to identify changes when target directory created later #165

Closed kjonescertinia closed 1 year ago

kjonescertinia commented 1 year ago

In FFA the force-app/deps directory is listed as part of sfdx-project.json but is not created until you run the ant prepare. This results in no watcher being setup for the directory since it does not exist.

A similar problem would occur if the directory did exist but was then removed and re-created. Also note that if a directory is re-named we should ideally stop watching it as its no longer of interest.