Starts a local development environment that serves your project. When the environment is ready, the command prints links to preview your project's site and dashboard.
The development environment is set up for hot reloading, so any changes you make to your code are immediately reflected in the browser.
The following flags are available for the wix dev command:
| Flag | Description |
|---|---|
--port <port> | Specify which port to run on. Defaults to 4321. |
--allowed-hosts <allowedHosts> | A comma-separated list of hostnames the development server responds to. To allow any hostname, pass true. |
Last updated: 10 November 2026