启动网页服务时不再监视文件,并加上控制台脚本用来查询、启停和看日志。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-30 12:00:19 +08:00
co-authored by Cursor
parent a11c460223
commit 03847bdb29
5 changed files with 339 additions and 2 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ if exist ".env" (
)
echo [信息] 启动服务 http://localhost:%PORT%
echo [信息] 改 src 或 skills 后后端会自动重启
echo [信息] 不监视文件。改完代码后关掉本窗口再启动,或用 console.bat 输入 update
echo [信息] 后端日志在本窗口,文件在 %USERPROFILE%\.writing-agent\logs\runtime.log
echo [信息] 浏览器按 F12 打开开发者工具
echo [信息] 桌面窗口请用 start-app.bat
@@ -50,6 +50,6 @@ echo.
start "" "http://localhost:%PORT%"
call npm run web:watch
call npm run web
pause