From b67c3a3580ab64fc309e03f32462fea0784730c2 Mon Sep 17 00:00:00 2001 From: joseph le Date: Wed, 4 Oct 2023 08:10:32 +0700 Subject: [PATCH] change runtimeCheckLog --- app/utils/runtimeCheckLogs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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