Assume I have a build with three projects: A, B and C. If I am currently in the context of A and reload the build, it might change the context to be C after the reload. Because of this, I have to change my project context every time after reloading.
Is there a way to set a specific project as the default context?
SBT chooses the first lexographical project variable name, so I just set my project name to:
val aaaFrontend = PlayProject(
Also, there's a projects Seq that I believe you can override.
Finally, in SBT 0.12 you can do it in you .sbtrc:
alias boot = ;reload ;project X ;iflast shell
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With