open-index/open-npm huggingface dataset:
npm package: @pitcher/app-dev-server
Description: Development server for Pitcher apps
Author: Lefteris Pegiadis
Latest version: 2025.12.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

## 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-server`
- `pitcher-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:

```bash
pitcher-dev-server --app-name react-debugger --port 5191 --org demo-sandbox
```

This will proxy API requests to `https://demo-sandbox.my.pitcher.com` instead.