Skip to main content
Development commands for local testing and iteration.

bp dev

Run project in development mode with hot reload:
This command:
  1. Builds your project
  2. Starts local server
  3. Creates tunnel for webhooks
  4. Deploys to cloud in dev mode
  5. Watches for file changes
  6. Auto-reloads on changes

Options

—port

Specify server port:
Defaults:
  • Bots: 8075
  • Integrations: 8076

—tunnelUrl

Custom tunnel URL:

—tunnelId

Specific tunnel ID:

—noBuild

Skip initial build:

—noSecretCaching

Disable secret caching:

bp serve

Serve project locally without cloud deployment:
Options:

Development workflow

1

Start dev server

2

Make changes

Edit your source files
3

Auto-reload

Server detects changes and reloads
4

Test

Test changes immediately

Environment variables

Dev mode sets:
Integrations also get secret variables.