Currently initial compilation regenerates code but continues compiling and working with old code. See https://github.com/paulbutcher/borachio-sbt-plugin/blob/master/src/main/scala/BorachioPlugin.scala for an approach.