#!/bin/bash

# Script để chạy development

echo "🔧 Running Development..."

# Kill server cũ
lsof -i :8080 | awk 'NR>1 {print $2}' | xargs kill -9 2>/dev/null || true

# Chuyển sang dev environment
./scripts/switch_env.sh dev

# Chạy web app (sẽ tự mở Chrome)
./scripts/run_web_complete.sh
