Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top