How to hot reload Tomcat server in VSCode : <p>I'm migrating from Eclipse IDE (+ VSCode for coding Java servlets and HTML/CSS/JS webpages, respectively) to only Visual Studio Code for its lightweight.</p>

<hr>

<p>I have several Java extensions installed for VSCode:</p>

<ul>
<li><a href="https://marketplace.visualstudio.com/items?itemName=redhat.java" rel="noreferrer">Language Support for Java(TM) by Red Hat</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=adashen.vscode-tomcat" rel="noreferrer">Tomcat for Java</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-debug" rel="noreferrer">Debugger for Java</a></li>
</ul>

<hr>

<p>Eclipse has a series of settings for hot reloading:</p>

<pre><code>- Automatically publish when resources change
- Refresh using native hooks or polling
</code></pre>

<p>while VSCode doesn't seem to have any for me.</p>

<hr>

<p>A few things I've try to reload my Java and web code:</p>

<ul>
<li>Restart Tomcat server</li>
<li>Delete and re-adding Tomcat server</li>
<li>Delete and regenerate <code>.war</code> package (not sure if this does anything, it can run well without a <code>.war</code> package)</li>
</ul>
