From e363da2fd713978f49a8215999cf2d5884b9ccef Mon Sep 17 00:00:00 2001 From: adlsdztony Date: Mon, 2 Jun 2025 21:11:38 +0800 Subject: [PATCH] docs: update README with important execution note & fix: fix auto-refresh logic --- monitor/README.md | 2 ++ monitor/static/index.js | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/monitor/README.md b/monitor/README.md index 1ead8f2..4ba8c7b 100644 --- a/monitor/README.md +++ b/monitor/README.md @@ -11,6 +11,8 @@ This monitor provides a visual interface to track the status, progress, and resu - See detailed execution steps with screenshots and videos - Check task results +> Important! Make sure you run the monitor after the main runner has started executing tasks. Otherwise, it may cause issues when executing tasks. + ## Configuration The monitor can be configured by editing the `.env` file in the monitor directory. The following variables can be customized: diff --git a/monitor/static/index.js b/monitor/static/index.js index 933b754..f9be323 100644 --- a/monitor/static/index.js +++ b/monitor/static/index.js @@ -314,7 +314,5 @@ function renderTasks(data) { } // add auto-refresh with time interval 10 seconds setInterval(() => { - if (!isRefreshing) { refreshPage(); - } }, 10000); // 10 seconds interval