Avoid recompiling Scalas script

37 Views Asked by At

I like the idea of using Scala as a scripting language (https://www.scala-sbt.org/1.x/docs/Scripts.html). However, it always takes a long time even for a simplest Hello World script to run, presumably because sbt is recompiling the script every time.

Is there a way to instruct sbt to save the compilation results, in case the script hasn't changed since the last compilation?

0

There are 0 best solutions below