mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-19 20:00:41 +00:00
Add npm run dev instructions to DEVELOPMENT.md
This commit is contained in:
parent
045a24521d
commit
e3bbe475ae
1 changed files with 12 additions and 1 deletions
|
|
@ -152,8 +152,17 @@ Handles user preferences:
|
|||
|
||||
### Running in Development
|
||||
|
||||
Start the watch build in the monorepo root to continuously rebuild all packages:
|
||||
|
||||
```bash
|
||||
# From monorepo root
|
||||
# Terminal 1: Watch build (from monorepo root)
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Then run the CLI with tsx in a separate terminal:
|
||||
|
||||
```bash
|
||||
# Terminal 2: Run CLI (from monorepo root)
|
||||
npx tsx packages/coding-agent/src/cli.ts
|
||||
|
||||
# With arguments
|
||||
|
|
@ -164,6 +173,8 @@ npx tsx packages/coding-agent/src/cli.ts -p "Hello"
|
|||
npx tsx packages/coding-agent/src/cli.ts --mode rpc --no-session
|
||||
```
|
||||
|
||||
The watch build ensures changes to dependent packages (`pi-agent-core`, `pi-ai`, `pi-tui`) are automatically rebuilt.
|
||||
|
||||
### Type Checking
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue