the-tip-top-backend/restart-backend.bat
2025-11-17 23:47:54 +01:00

19 lines
461 B
Batchfile

@echo off
echo ======================================
echo REDEMARRAGE DU BACKEND
echo ======================================
echo.
echo Etape 1: Arret de tous les processus Node.js...
taskkill /F /IM node.exe 2>nul
if %errorlevel% equ 0 (
echo OK: Processus arretes
) else (
echo INFO: Aucun processus a arreter
)
timeout /t 2 /nobreak >nul
echo.
echo Etape 2: Demarrage du backend...
echo.
cd /d "C:\Users\LENOVO\Back\the-tip-top-backend"
npm start