I've started to learn spring framework. Earlier I've used play framework.
Generally, spring is more powerful for me, but one thing bothers me: recompile time.
After changing one single line of code I have to click so many times F5 button on the web page of the project to make spring recompile source.
Is there any way to make it recompile on every change of source I made?
Please give me some of your suggestions. I am using:
- Spring 4
- Spring Tool Suite
- Pivotal tc Server Developer Edition v3.0
Thanks in advance...
I know this question is a bit old but just stumbled across it. Spring Boot DevTools will be the best solution to your problem. To include devtools support, simply add the module dependency to your build
Maven
Gradle
By default, any entry on the classpath that points to a folder will be monitored for changes. Note that certain resources such as static assets and view templates do not need to restart the application.
Please refer this link for more details. We are using the same in our projects. You will just have to add the dependency, and you are good.