You can invalidate the cache and restart a running application in IntelliJ.The cache can be invalidated by right-clicking the project in the Project view and selecting Reload.