i have a Servlet 5.0 with JDK 17 project which is build by Gradlebuild tool and use Tomcat 10 as a server to run. but i am afraid, when i change java file these changes can not deployed on server and also there is not "compile on save" option in a gradle project for compiling automatically. so after a change i have to select clean and build option on my project to be deployed war file on server
i except that when i change web file or java classes i can see the changes on browser without clean and build option