Best way to “restart” Akka after code change to a Scala file?
I'm working with learning Scala and Spray to serve up an API, and each time I make a change to my Scala code, I have to restart the Akka server (currently just breaking out and then doing a container:start). Am I doing this wrong?
Coming from a scripting language I'm used to seeing my changes reflected instantly--but since this is compiled I guess this is a fact of life?
For a long time there were no such way but now we have JRebel and I think it is what you're looking for. There is already plugins (revolver and auxiliary jrebel-plugin) for SBT but generally, JRebel is tool agnostic. Licenses are free for scala developers.