usethesource / rascal-language-servers

An LSP server for Rascal which includes an easy-to-use LSP generator for languages implemented in Rascal, and an interactive terminal REPL.
BSD 2-Clause "Simplified" License
10 stars 7 forks source link

Refresh calculated path if any of the pom files that are related to the project change #289

Closed DavyLandman closed 11 months ago

DavyLandman commented 1 year ago

Is your feature request related to a problem? Please describe. Currently we reload the path config if the rascal.mf file changes, but if someone changes their pom (to switch to a newer version of a dependency) we keep using the old files. This causes type check errors, either due to tpl binary incompatibility problem or you are referencing a newly added/changed function.

Describe the solution you'd like Currently we watch every RASCAL.MF file for the projects where the server is active for (see PathConfigs class).

We should:

if any event triggers, we should recalulate the path config.