3
隨着SBT這是可以做到的〜運行重新編譯和運行程序的源改變時。但是一旦創建ActorSystem,它就不再工作了。啓用與阿卡波浪觸發和SBT
當系統處於關閉它的工作原理,但我不希望關閉系統。
import akka.actor.ActorSystem
object Test {
def main(args: Array[String]) : Unit = {
val system = ActorSystem()
// if this line is removed, source code detection is disabled
system.shutdown()
}
}
有什麼解決方法嗎?
感謝您的回答 –