log to project dir, add web.log to gitignore
This commit is contained in:
@@ -27,7 +27,7 @@ start_backend() {
|
||||
start_frontend() {
|
||||
echo "=== Starting Frontend (opencode web) ==="
|
||||
cd "$PROJECT_DIR"
|
||||
nohup opencode web --port 3000 > /tmp/opencode-web.log 2>&1 &
|
||||
nohup opencode web --port 3000 > "$PROJECT_DIR/web.log" 2>&1 &
|
||||
echo "Frontend PID=$!"
|
||||
echo "Web interface: http://127.0.0.1:3000/"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user