docs: update README with important execution note & fix: fix auto-refresh logic
This commit is contained in:
@@ -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
|
- See detailed execution steps with screenshots and videos
|
||||||
- Check task results
|
- 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
|
## Configuration
|
||||||
|
|
||||||
The monitor can be configured by editing the `.env` file in the monitor directory. The following variables can be customized:
|
The monitor can be configured by editing the `.env` file in the monitor directory. The following variables can be customized:
|
||||||
|
|||||||
@@ -314,7 +314,5 @@ function renderTasks(data) {
|
|||||||
}
|
}
|
||||||
// add auto-refresh with time interval 10 seconds
|
// add auto-refresh with time interval 10 seconds
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
if (!isRefreshing) {
|
|
||||||
refreshPage();
|
refreshPage();
|
||||||
}
|
|
||||||
}, 10000); // 10 seconds interval
|
}, 10000); // 10 seconds interval
|
||||||
|
|||||||
Reference in New Issue
Block a user