- Dev/preview servers accessible from other machines (--host flag) - Port configuration via menu or CLI args - dev:8080 and dev:9090 shortcuts for kiosk/remote modes - Shows connection info (local + network IP)
34 lines
876 B
Markdown
34 lines
876 B
Markdown
---
|
|
plan: 1
|
|
type: quick
|
|
files_modified:
|
|
- start.sh
|
|
---
|
|
|
|
<objective>
|
|
Update start.sh to support network access (--host flag) and custom port configuration for dev/preview servers
|
|
</objective>
|
|
|
|
<tasks>
|
|
|
|
<task>
|
|
<name>Update start.sh with network and port options</name>
|
|
<files>start.sh</files>
|
|
<action>
|
|
1. Update dev command to include --host flag for network access
|
|
2. Add port configuration (default 5173 for dev, 4173 for preview)
|
|
3. Add menu options for port selection
|
|
4. Show connection info after starting server (IP address, port)
|
|
</action>
|
|
<verify>grep -E "(host|port|--host)" start.sh | head -10</verify>
|
|
<done>start.sh updated with network access and port options</done>
|
|
</task>
|
|
|
|
</tasks>
|
|
|
|
<success_criteria>
|
|
- Dev server accessible from other machines
|
|
- Port can be customized via menu or arguments
|
|
- Connection info displayed when server starts
|
|
</success_criteria>
|