/
/
Preview
Preview server start, stop, and status check. Local development server management.
Run with:
/preview/preview - Preview Management
$ARGUMENTS
Task
Manage preview server: start, stop, status check.
Commands
/preview - Show current status
/preview start - Start server
/preview stop - Stop server
/preview restart - Restart
/preview check - Health check
Usage Examples
Start Server
/preview start
Response:
š Starting preview...
Port: 3000
Type: Next.js
ā
Preview ready!
URL: http://localhost:3000
Status Check
/preview
Response:
=== Preview Status ===
š URL: http://localhost:3000
š Project: C:/projects/my-app
š·ļø Type: nextjs
š Health: OK
Port Conflict
/preview start
Response:
ā ļø Port 3000 is in use.
Options:
1. Start on port 3001
2. Close app on 3000
3. Specify different port
Which one? (default: 1)
Technical
Auto preview uses auto_preview.py script:
python .agent/scripts/auto_preview.py start [port]
python .agent/scripts/auto_preview.py stop
python .agent/scripts/auto_preview.py status