When you are developing a web application minimizing the time it takes changes you make to show up is a key factor in your productivity. The quicker you can see the results of your change, the quicker you know if you have fixed things, or made things worse:).
If you are using SpringBoot you may be used to saving your changes, and then restarting your application by stopping and re-running your maven or gradle run or bootRun command. Thankfully SpringBoot Dev Tools can automate application reloads and restarts to pick up your back end changes, and can also automatically refresh your browser window to pick up front end changes.
Getting this working correctly can be a little tricky, so I wanted to give you an easy guide to get this working. I am using SpringBoot and Gradle for my build system. I am using VSCode as my IDE. For Maven you’ll need to translate things from my build.gradle file into your pom.xml, but the overall structure should be the same.
Caveat: I’ve gotten this working organically with a lot of trial and error, so there may be some residual cruft from the various things I’ve tried that is not necessary.
Instagram : / jinoy_varghese
Facebook : / 100006883817962
Website : https://cspsyco.blogspot.com/
YouTube : / @cspsyco
GitHub : https://github.com/Jinoy-Varghese
Join this channel to get access to perks:
/ @cspsyco
Camera : https://www.flipkart.com/canon-eos-r5...
Mic : https://www.flipkart.com/boya-by-m1-3...
Editing software : https://filmora.wondershare.net/
Watch video How to make auto reload with Spring-boot on IDEA Intellij SpringBoot DevTools Auto Restart online without registration, duration hours minute second in high quality. This video was added by user C S Psyco 07 May 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 286 once and liked it 8 people.