Unlock seamless workflows and faster delivery with our latest releases – get the details

Start

Alias of `sanity preview`

usage: sanity start [BUILD_OUTPUT_DIR] [--port <port>] [--host <host>]

   Alias of `sanity preview`

Notes
  Changing the hostname or port number might require a new CORS-entry to be added.

Options
  --port <port> TCP port to start server on. [default: 3333]
  --host <host> The local network interface at which to listen. [default: "127.0.0.1"]

Examples
  sanity start --host=0.0.0.0
  sanity start --port=1942
  sanity start some/build-output-dir

Was this article helpful?