java - Must I always have to restart the Tomcat server to clear out Velocity Template cache? -
what doing directly modifying .vm file in our jira project on test server trying figure out bug have. reason why doing directly on server because our project build time , start-up of server on 10 minutes every build (thats issue day).
after modifying .vm file have tried clear out cache on tomcat deleting catalina\localhost\projectname folder browser cache. not work , forced shutdown tomcat server , restart , changes show up.
sick of shutting down , starting test each change making in file troubleshoot.
is there way can this?
for debugging, should able turn caching off. if you're loading templates files, example, set following property in config:
file.resource.loader.cache=false
Comments
Post a Comment