sbt / sbt-remote-control

Create and manage sbt process using unicorns and forks
Other
74 stars 14 forks source link

How to get response from sbtclient? #300

Open hardvain opened 8 years ago

hardvain commented 8 years ago

I have a snippet code like this

 val connector = SbtConnector(configName = "sample", humanReadableName = "sample", new File("."))
  connector.open(client => {
    client.requestExecution("compile",interaction = None).map{
      result => 
    })
  },(reconnecting,message) => {

  })

The result is of type Long. How will I get the sbt output of compile command?