Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit d0e4b88

Browse files
committed
Almost working
1 parent 8b9f02a commit d0e4b88

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

.roo/roomotes.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,46 @@
11
version: "1.0"
2+
port: 8443
23

34
commands:
45
- name: Install dependencies
56
run: pnpm install
67
timeout: 60
8+
9+
- name: Build & watch (Terminal 1)
10+
run: |
11+
# Build all workspace packages first (handles @roo-code/build and other deps)
12+
pnpm build || exit $?
13+
14+
# Enable polling for file watchers (helps with symlinks and macOS issues)
15+
export CHOKIDAR_USEPOLLING=true
16+
export WATCHPACK_POLLING=true
17+
18+
# Start watchers (same as .vscode/tasks.json "watch" task, using direct pnpm filters)
19+
pnpm --filter @roo-code/vscode-webview dev &
20+
pnpm --filter roo-cline watch:bundle &
21+
pnpm --filter roo-cline watch:tsc &
22+
23+
# Wait for all background jobs
24+
wait
25+
timeout: 0
26+
27+
- name: Start code-server (Terminal 2)
28+
run: |
29+
PORT=${PORT:-8443}
30+
31+
# Install code-server if missing
32+
if ! command -v code-server &> /dev/null; then
33+
curl -fsSL https://code-server.dev/install.sh | sh
34+
fi
35+
36+
# Symlink extension for live development
37+
EXT_DIR="$HOME/.local/share/code-server/extensions"
38+
mkdir -p "$EXT_DIR"
39+
ln -sfn "$(pwd)/src" "$EXT_DIR/roo-cline"
40+
41+
# Disable atomic writes so file watchers detect changes properly
42+
export DISABLE_ATOMICWRITES=true
43+
44+
# Launch code-server
45+
code-server --auth none --bind-addr 0.0.0.0:${PORT} .
46+
timeout: 0

0 commit comments

Comments
 (0)