blitz start

Alias: blitz s

Starts the Blitz server. It starts in development mode by default.

Options

OptionShorthandDescriptionDefault
--productionStart the server in production mode. Use this when deploying to a server (not serverless)false
--hostname-HSet the hostname to use for the server."localhost"
--port-pSet the port you'd like the server to listen on.3000
--no-incremental-buildDisable incremental build and start from a fresh cache. Incremental build is automatically enabled for development mode and disabled during blitz build or when the --production flag is supplied.false

Examples

Development
blitz start
Production
note

Make sure to run

blitz build before running blitz start in production.

blitz start --production
blitz start --production -H 127.0.0.1 -p 5632
Idea for improving this page?Edit it on GitHub
Bytes Newsletter