#!/bin/bash

echo "🚀 Starting SamCloud FileBrowser Development Mode..."

# Stop any existing containers
echo "Stopping existing containers..."
docker compose down

# Start the main container with volume mounts for CSS changes
echo "Starting container with live CSS watching..."
docker compose up -d

echo "✅ Development mode active!"
echo "📂 FileBrowser: http://localhost:8383"
echo "🎨 CSS changes in src/frontend/src/css/ will be reflected immediately"
echo ""
echo "To stop: docker compose down"
