title: How can I get tomcat to auto-deploy WAR files from a directory, but still using the original appBase directory
body: <p>I need to deploy my application in an embedded solution (running on a raspberry pi zero). As such, I only really can deploy things on localhost. I am not too familiar with virtual hosts, so I may be wrong on this.</p>
  
  <p>My problem is that I want tomcat to auto-deploy the war file that is contained within the git repository I cloned onto the raspberry pi. This is so that updates can be made over the git respository easily instead of having to deal with the manager. That being said, I also like to keep the manager and other admin tools active and working which are contained within the default webapps directory. Copying these into the git repository is not something i want to do as they will be misplaced and kept in the repository which is not necessary. Furthermore, I want tomcat to "explode" or extract the WAR files in the original webapps directory, as to not add these files to the git repository. </p>
  
  <p>Basically I want to be able to auto-deploy all war files in a certain directory without that directory being actually being written to and while also auto-deploying the war files in the "standard" webapps directory.</p>
  
  <p>Is this possible?</p>
  
  <p>Im using tomcat9</p>