<redeploy-mode> controls how Resin restarts a <web-app> or <host> when it detects a change in the <web-app> or <host>.