Thomas Luechtefeld
Thomas Luechtefeld

Reputation: 1456

sbt refresh after changing build.sbt

Part of using and learning scala build tool involves making small changes to build.sbt and then rerunning sbt tasks. But every time I change my build.sbt I need to restart the sbt console. This isn't a huge deal, but it would be nice if there were an sbt refresh task or something that handled this.

Does anybody know how to refresh the sbt console after making a build.sbt change?

Upvotes: 12

Views: 8811

Answers (1)

Thomas Luechtefeld
Thomas Luechtefeld

Reputation: 1456

sbt reload does this.

Not sure why this wasn't immediately obvious.

Upvotes: 22

Related Questions