These are chat archives for sbt/sbt
A relaxed chat room about sbt (That interactive build tool). For getting help on sbt, we encourage people to document it on Stackoverflow or subscribing to Lightbend subscription.
build.sbtfile at the root of your project, not inside the
plugins.sbtbecause it typically only has sbt plugins (
cancelable in Global := true, when I run my application and then ctrl+c it, the sockets it binds are sometimes not unbound, is there any way that I could catch the ctrl+c from my application so that I can close the socket?
fork in run := trueand then use
Runtime.getRuntime().addShutdownHookto run my finalizer