Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why do I have to run 'rebuild project' for every change in Intellij?

For any change I made to my class, which contains a main() method, I have to run "Build->rebuild project", to make the changes effective. I am afraid my environment or settings have a problem.

Please help.

like image 446
user697911 Avatar asked Jan 29 '23 19:01

user697911


1 Answers

Please check that you still have Build step in the Before launch setting of the Run/Debug configuration. This is the default, but you could have removed it by accidentally clicking on the icon.

Build

like image 106
CrazyCoder Avatar answered Feb 05 '23 16:02

CrazyCoder