@echo off echo Encerrando processos anteriores... for /f "tokens=5" %%a in ('netstat -ano ^| findstr ":8766" ^| findstr LISTENING') do taskkill /PID %%a /F >nul 2>&1 taskkill /IM node.exe /F >nul 2>&1 timeout /t 2 >nul echo Iniciando servidor e tunnel... start "Servidor" cmd /c "cd /d D:\Evolução categorias\deploy && python -m http.server 8766" timeout /t 2 >nul start "Tunnel" cmd /c "lt --port 8766 --subdomain dashboard-cat-2026" echo Aguarde a URL aparecer na janela do Tunnel... echo URL: https://dashboard-cat-2026.loca.lt