Skip to main content

serve

Start the development server.

archibald serve|s [options]

Options

OptionInteractiveDescription
-e, --environment [environment]✔️Specify environment to use. Environments are configured in Archibald config under project/environments property.
-t, --tenant [tenant]✔️Specify tenant to use. Tenants are configured in Archibald config under project/tenants property.
-p, --platform [platform]✔️Specify platform to use. Platforms are configured in Archibald config under project/platforms property.
-po, --platformOverride [platform]Specify override platform to use. Platforms are configured in Archibald config under project/platforms property.
-m, --mode [mode]✔️Specify compile mode to use. Possible values:
  • development
  • production
-n, --native [native]Specify native platform to build the project with. Possible values:
  • web
  • ios
  • android
-o, --open [open]Open the application in the browser after the build.
-c, --clientBuild only client.
-s, --serverBuild only server.
-sl, --sslServe application over HTTPS protocol.
-pl, --parallelBuild in parallel structure.
-i, --ide [ide]Open the according ide.
-ins, --instrumentInstruments the code for code coverage analyze. Default: false
-q, --quietDon't use interactive cli and run the command with default options.
-h, --helpShow help commands.

Native Options

Following options are additionally available in combination with the --native|-n command

OptionDescription
-tnl, --tunnelConnect to a dev server over a proxy URL that is accessible from any device with internet access.
-d, --deviceDo a local build with a device selection where to install it too. Default: false.
-clr, --clearClear the native cache.
-pb, --prebuildSpecify if expo should call prebuild.