Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse hot code replace not updating

Why might simple changes to code fail to update? The 'hot code replace' message appears as usual when making big changes, but changing a println string, or commenting out a method call sometimes does nothing, and the app has to be restarted to apply the change. I think it may have something to do with native calls, but other than that there seems no pattern to it.

like image 254
mk. Avatar asked Jan 23 '23 07:01

mk.


1 Answers

If you are not introducing changes that affect the class signature as Stephen mentioned, it should work. If it's not working, makesure that you have enabled 'Build Automatically' for the project (Project -> Build Automatically).

This is required for Eclipse to perform local builds when you do changes and push those to the server when you make a change.

like image 173
Yohan Liyanage Avatar answered Jan 25 '23 19:01

Yohan Liyanage