x/tools/gopls: narrow file watching to active modules when go.work is in use #63742
Labels
FrozenDueToAge
gopls/metadata
Issues related to metadata loading in gopls
gopls/performance
Issues related to gopls performance (CPU, memory, etc).
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Following up on #63536 (comment), we should consider narrowing the watch patterns requested by gopls when a go.work file is in use (or when the view is narrowed to a single module).
For example, with a go.work file we could just watch the
go.work
file itself, and all main modules. This could significantly improve file watching performance in monorepos.The text was updated successfully, but these errors were encountered: