K F
K F

Reputation: 695

In intellij, how to refresh project after changing build.sbt

Every time I change the build.sbt, it gives hints to refresh project or ignore. I recently click the ignore by mistake, and it never gives me the hints any more. So I can't refresh it any more, and after editing the build.sbt, the project still uses the old configuration.

Upvotes: 8

Views: 6852

Answers (1)

Aleksandar Marinkovic
Aleksandar Marinkovic

Reputation: 519

You can force SBT to reload changes: Open SBT toolwindow (on the right side of IDE) and press refresh button.

If you use auto-import feature you need to save your file to force auto-refresh.

This has been answered here How to force IntelliJ IDEA to reload dependencies from build.sbt after they changed?

Upvotes: 13

Related Questions