Development Server
varity_dev_serverControl your local development server: start, stop, or check its status. Returns the localhost URL for app preview.
Instructions
Start, stop, or check the local development server. Returns the localhost URL for previewing the app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Project directory (default: current working directory) | |
| port | No | Port to run the dev server on (default: 3000). If this port is busy, the server auto-selects the next available port and persists it to varity.config.json so future starts use the same port automatically. You can also set this explicitly (e.g. port: 3031) to always start on a specific port. | |
| action | Yes | Action to perform: start, stop, or check status of the dev server |