Main Content

auto-deploy-root

Folder that the server instance scans for deployable archives

Syntax

--auto-deploy-root path

Description

--auto-deploy-root path specifies the folder that the server instance scans for deployable archives.

The server instance automatically unpacks and deploys archives placed in this folder when it starts. Starting in R2020a, if you set the async-deploy-on-startup, the server instance deploys the archives only after it starts.

You do not need to restart the server after a deployable archive is added, updated, or removed. Multiple server instances can share a single auto-deploy-root folder. Using this folder allows near-simultaneous hot deployment to multiple instances. The server scans the folder every five seconds for any changes.

Parameters

path

Path to the folder that the server instance scans for deployable archives. The path is relative to the server instance root folder.

Examples

Scan the auto_deploy folder for deployable archives to hot deploy.

--auto-deploy-root ./auto_deploy