File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,15 +42,14 @@ function wmdevTemplate(name: string): string {
4242 return `# Project display name in the dashboard
4343name: ${ name }
4444
45- # --- Service health monitoring (uncomment to enable) ---
4645# Each service defines a port env var that wmdev injects into .env.local
4746# when creating a worktree. Ports are auto-assigned: base + (slot × step).
4847# Use \`source .env.local\` in your .workmux.yaml pane commands to pick them up.
49- # services:
50- # - name: app
51- # portEnv: PORT
52- # portStart: 3000 # Port for the main branch (slot 0)
53- # portStep: 10 # Increment per worktree (3010, 3020, ...)
48+ services:
49+ - name: app
50+ portEnv: PORT
51+ portStart: 3000 # Port for the main branch (slot 0)
52+ portStep: 10 # Increment per worktree (3010, 3020, ...)
5453
5554# Agent profiles determine how AI agents run in worktrees
5655profiles:
9998
10099 # Dev server — waits for .env.local (written by wmdev) then starts
101100 - command: >-
101+ npm install &&
102102 until [ -f .env.local ]; do sleep 0.2; done;
103103 source .env.local;
104104 PORT=$PORT npm run dev
You can’t perform that action at this time.
0 commit comments