diff --git a/app/utils/runtimeCheckLogs.ts b/app/utils/runtimeCheckLogs.ts index bd8ed28..b767ef8 100644 --- a/app/utils/runtimeCheckLogs.ts +++ b/app/utils/runtimeCheckLogs.ts @@ -88,7 +88,7 @@ export async function runtimeCheckLogs(folderPath) { // Watch for changes in the files listed async function watchFilesInList() { //only check new file ---> fileList - fileList_old = new file - await fileList + await fileList.slice(0,20) ?.filter((i) => fileList_old.includes(i) === false) ?.forEach((fileName) => { //path file