Using SBT revolver with Lightbend Telemetry


(Calvin Lee Fernandes) #1

Hey there,

I was wondering if there was a better way to make sbt reStart work with the Cinnamon Java agent, I ended up having to do this to get it instrument:

javaOptions in reStart += "-javaagent:" + (Path.userHome / ".ivy2" / "cache" / "com.lightbend.cinnamon" / "cinnamon-agent" / "jars" / "cinnamon-agent-2.10.15.jar").toPath.toAbsolutePath.toString

Is there a more idiomatic way to do this?

Thanks
Cal