Spring Boot DevTools Live Reload Not Working
已回答
Hi,
I wanted to give IDEA Ultimate a try before the purchase. I created a simple Spring Boot app with DevTools. After making changes in code and save (Ctrl + S), the server should restart automatically. But, it didn't.
Things I tried,
1. Enabled "Build Automatically" in Settings of the project.
2. Registry -> "compiler.automake.allow.when.app.running" ->THIS IS NOT FOUND IN MY REGISTRY. Searched as well as looked for it manually. No luck. Here is a screenshot = Upload ID: 2021_07_31_8Dw5isT5E5NiuhAK (file: IDEA.PNG)
Help me please.
请先登录再写评论。
Hi - the option was moved to the Advanced Settings:
No, this is not working. I am using InteliJ 2022.2.1. I am using spring with devtools & using java 18. Already followed as what you told. But still it's not working. Any suggestions? Thanks.
Pratamadhanuaji
Please leave a comment in https://youtrack.jetbrains.com/issue/IDEA-264926 with your env/project specs & steps you already tried to work around the problem.
If possible, also attach a demo project where this can be reproduced.
https://www.youtube.com/watch?v=BvIM9gNTDM4
Watch this video. This is working for me.
Vorayash0716 Thank you, its working. I followed the steps in the video.
Even I had the same problem and https://www.youtube.com/watch?v=BvIM9gNTDM4 worked
Enable these two settings. And restart your server. :-)
The advice from Vibhor Dubey works perfectly, thank you!
Vibhor Dubey right solution. its working :) thanx