[Solved] IntelliJ keeps build files when focus out
When I switch focus window by CMD+Tab (e.g. IntelliJ -> Chrome Browser), my IntelliJ start to build files.
I think there are some options related to this but can't find them.
belows are my spec:
OS: macOS Catalina 10.15.6 19G73 x86_64
Host: MacBookPro13,3
Kernel: 19.6.0
IntelliJ IDEA 2020.1.2 (Ultimate Edition)
Build #IU-201.7846.76, built on June 1, 2020
Licensed to Kakao Corp. / milk roeniss
You have a perpetual fallback license for this version
Subscription is active until June 1, 2021
Runtime version: 11.0.7+10-b765.53 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.15.6
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Registry: ide.balloon.shadow.size=0
Non-Bundled Plugins: Batch Scripts Support, CMD Support, Key Promoter X, GrepConsole, Lombook Plugin, Gitflow, com.dubreuia, com.vincentp.gruvbox-theme, google-java-format, mobi.hsz.idea.gitignore, monokai-pro, net.vektah.codeglance, in.1ton.idea.spring.assistant.plugin, izhangzhihao.rainbow.brackets, com.chrisrm.idea.MaterialThemeUI, com.codota.csp.intellij, org.jetbrains.plugins.vue, tv.twelvetone.intellij.plugins.intellivue
请先登录再写评论。
I think I have same trouble with this : https://intellij-support.jetbrains.com/hc/en-us/community/posts/206198009-Build-when-intellij-focus-is-lost?input_string=IntelliJ%20keeps%20build%20files%20when%20focus%20out (they didn't get answer though)
Please check "On frame deactivation" option in Run configuration of the project: https://i.imgur.com/5TVJZNd.png
And these two options could also be related:
1.
Settings (Preferences on macOS) | Build, Execution, Deployment | Compiler | Rebuild module on dependency change
2.
Settings (Preferences on macOS) | Build, Execution, Deployment | Compiler | Build project automatically
.Konstantin Annikov you saved me! first image was exactly my case! yes I uses Spring framework.
Thank you! I was trying to figure out why intellij kept rebuilding the application, even though "spring boot live reload" and automatic compile settings were off.
This is exactly what the issue was! For some reason this setting was added to all of my microservices and switching between them started multiple builds, which made my PC freeze!