Preview Management
Manage your local development server with the /preview workflow.
Overview
The /preview command manages your local development server.
Start, stop, restart, or check the status with simple commands.
start
Launch server
stop
Kill server
restart
Reload
check
Health
The Process
1
Start Server
/preview start2
Check Status
/preview3
Stop Server
/preview stopExample Session
agent-session
$/preview start
▸🚀 Starting preview...
Port: 3000
Type: Next.js
▸✅ Preview ready! URL: http://localhost:3000
Pro Tips
Auto-detection
Automatically detects Next.js, Vite, etc.
Port Conflict
Suggests alternatives if port 3000 is busy.
Next Steps
- Run
/preview startto launch your dev server - See Deployment to go live