Intelliji is not detecting code changes
Answered
I am using the latest version of Intelliji(IDEA 2017.1.2).
I use testng to run my automated tests.
Recently intelliji is not detected any of my code changes.
I have to do a maven clean install for every single line of code change.
Please let me know how to fix this issue? I tried re installing intelliji and reimporting the project.
Nothing worked.
Please sign in to leave a comment.
Try to delete .idea directory and open pom.xml to reimport.
Serge Baranov : I've been looking for a solution to this problem for the past two hours and this is the only one that helped. So there's something wrong going on in the .idea directory. Is it some known issue which can be fixed(by modifying some file) without removing the whole .idea directory? I'm using a lot of run configurations, remote server configurations etc and it's quite annoying to lose it every time this happens. This is not the first time it happened to me. I just don't remember how I fixed that before.
If it happens again, report a bug at https://youtrack.jetbrains.com/issues/IDEA with the sample project to reproduce attached and idea.log (https://intellij-support.jetbrains.com/hc/articles/207241085).
When removing .idea directory, you can keep your Run configurations so that you don't have to create them again, see http://stackoverflow.com/a/3136255/104891.