Production Server (brisa start)
brisa start starts the application in production mode. To get a list of the available options with brisa start, run the following command inside your project directory:
brisa start --help
The output should look like this:
Usage: brisa start [options]
Options:
-p, --port Specify port
brisa startcannot be used with differentoutputthanserver(the default one). Foroutputset tostatic, you can use alternatives likebunx serve outto run the build output and try the production assets locally.
Changing the port
The application will start at http://localhost:3000 by default. The default port can be changed via process.env.PORT or with -p flag, like so:
brisa start -p 8080