| name | dev |
| description | Start the Vite dev server for frontend development. Use when user says 'start the frontend', 'run dev server', or 'open the app'. Not for running tests — use /test-e2e for Playwright. |
| disable-model-invocation | true |
| allowed-tools | Bash, Read |
Start the Vite dev server for frontend development.
Steps
- Check if the
frontend/ directory exists:
test -d frontend && echo "Frontend found" || echo "ERROR: No frontend/ directory. Run npx wao create with frontend option to scaffold one."
-
If frontend/ doesn't exist, stop and tell the user to re-scaffold with the frontend option.
-
Install frontend dependencies if needed:
cd frontend && npm install
- Start the Vite dev server:
cd frontend && npm run dev
- Report the local URL (usually http://localhost:5173).