-
Notifications
You must be signed in to change notification settings - Fork 1k
BSP: resolving targets does not reload build #5783
Copy link
Copy link
Closed
Description
steps
- import an sbt project set to version
1.4.0-M2as BSP project into IntelliJ - make some change in build.sbt that would cause an error
- do a project refresh in IntelliJ
problem
The import works just like before - the project was not refreshed.
To trigger a refresh, it must be manually run from an sbt shell connected to the same server, or the connection and server process must be forcibly closed.
expectation
Ideally, sbt detects in any project refresh is necessary when calling certain BSP requests, such as workspace/buildTargets, and does a reload before answering. If the reload fails, these requests respond with an error.
Reactions are currently unavailable