Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/gopls: add a work-around for file watching bug in VS Code #40812
VS Code currently does not allow the language server to watch files outside of the workspace root: microsoft/vscode#100870.
This means that users who open subdirectories of modules or modules with replace directives may see bugs because
@heschik has suggested that we should add a work-around to address this -- we could clear out the entire cache when we see >= 10 (or fewer?) batched