@pitcher/app-dev-server
v2025.12.2
Published
Development server for Pitcher apps
Readme
Prerequisites
- Node v22
- Make sure your app is running at
localhost:port/app-name - You need to have published and installed your app in your instance already
Use
Start the dev server with:
npx @pitcher/app-dev-server --app-name react-debugger --port 5191
OR
npm install --global @pitcher/app-dev-serverpitcher-dev-server --app-name react-debugger --port 5191
Options
| Option | Alias | Description | Default |
|--------|-------|-------------|---------|
| --app-name | -a | Name of the app | (required) |
| --port | -p | Port that you are running your app on | 4000 |
| --base-path | -b | Base path of your developed app | / |
| --entry | -e | File name of your entry point | index.html |
| --sfdc-url | -s | SFDC proxy URL | - |
| --org | -o | Pitcher organization | dev |
Using Different Organizations
By default, the dev server proxies API requests to https://dev.my.pitcher.com. To use a different organization:
pitcher-dev-server --app-name react-debugger --port 5191 --org demo-sandboxThis will proxy API requests to https://demo-sandbox.my.pitcher.com instead.
