0

I have multiple runnable projects under the root build.sbt which I intended to run with sbt run command.

Here is how my build.sbt looks like:

lazy val prj1 = (project in file("prj1"))

lazy val prj2 = (project in file("prj2"))

The problem is running sbt "project prj1" run and then sbt "project prj2" run makes prj2 to wait on the lock:

[info] waiting for lock on /Users/usrname/.sbt/boot/sbt.boot.lock to be available...

But I'd like to run both of the project simultaneously since there is some integration between them.

Is it possible to do? Some workarounds?

Some Name
  • 8,555
  • 5
  • 27
  • 77

0 Answers0