@echo off
title ECService - WebSocket Server
cd /d C:\TMP\ACA\ecservice

echo Starting ECService...
echo Press Ctrl+C to stop.
echo.

REM Run Node and log output while keeping console visible
powershell -NoExit -Command "& 'C:\Program Files\nodejs\node.exe' ecservice.js | Tee-Object -FilePath logs/ecservice.log"
