Skip to content

Add build/reload request #134

@adpi2

Description

@adpi2

The ability to trigger a build server refresh is currently missing from the protocol.

This issue is a follow up of sbt/sbt#5783. Adding a build/reload request will ease the integration between IntelliJ and sbt, as well as IntelliJ and Bloop.

Basically,

  • workspace/buildTargets is safe and returns the latest known state of the build
  • build/reload asks the server to refresh the state of the build but it can fail, in which case the server might stop responding

A typical scenario would be:

  • the user changes the build configuration file then clicks the reload button
  • a build/reload request is sent by the client to the server
  • the server reload the configuration
  • after reloading successfully it replies with a success response
  • the client sends a workspace/buildTargets request to ask the new list of build targets

Metadata

Metadata

Assignees

Labels

specInvolves a modification to the spec

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions