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.
To run Standard Refresh, click the Refresh toolbar button. or press Ctrl+F5 . To run Force Refresh, click the Force Refresh toolbar button.
You can use Pretty Clean to clean the all of dev tools caches including SBT. PrettyClean also cleans the SBT project's target folder.
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?
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