Class_generator/fix-server.bat
StillHammer 05142bdfbc Implement comprehensive AI text report/export system
- Add AIReportSystem.js for detailed AI response capture and report generation
- Add AIReportInterface.js UI component for report access and export
- Integrate AI reporting into LLMValidator and SmartPreviewOrchestrator
- Add missing modules to Application.js configuration (unifiedDRS, smartPreviewOrchestrator)
- Create missing content/chapters/sbs.json for book metadata
- Enhance Application.js with debug logging for module loading
- Add multi-format export capabilities (text, HTML, JSON)
- Implement automatic learning insights extraction from AI feedback
- Add session management and performance tracking for AI reports

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-26 21:24:13 +08:00

26 lines
605 B
Batchfile

@echo off
echo 🔧 Fixing server issue...
REM Kill process on port 8080 specifically
echo 🛑 Stopping server on port 8080...
for /f "tokens=5" %%a in ('netstat -aon ^| findstr ":8080 "') do (
echo Killing process %%a
taskkill /F /PID %%a 2>nul
)
REM Kill all Node processes just in case
echo 🛑 Stopping all Node.js processes...
taskkill /F /IM node.exe /T 2>nul
REM Wait a moment
echo ⏳ Waiting...
timeout /t 3 /nobreak >nul
REM Start the correct server
echo 🚀 Starting correct server...
cd /d "%~dp0"
echo Working directory: %CD%
echo Starting: node server.js
node server.js
pause