How to get the hot reload working?
Hi! I’m developing a mod for Minecraft and I just moved from using Eclipse to using IntelliJ. I’m using the 2022.3 version. I was reading about hot reload (or is it now called hot swap?) but I can’t get it working. I ran the game in debug mode. Then I edited some functions in some classes and then chose run > debugging actions > reload changed classes. Nothing happens and debugger says ’Loaded classes are up to date. Nothing to reload.’ I also found some kind of apply option under the debugger, which seems to apply the changes, but to a new instance, which it starts. I could restart currently running instance myself a lot quicker.
I don’t wish to go back to Eclipse just because I can’t get HotSwap working :(
Can anyone help me? Thanks.
请先登录再写评论。