change runtimeCheckLog
This commit is contained in:
		
							parent
							
								
									c88f3b2354
								
							
						
					
					
						commit
						b67c3a3580
					
				| 
						 | 
					@ -88,7 +88,7 @@ export async function runtimeCheckLogs(folderPath) {
 | 
				
			||||||
    // Watch for changes in the files listed
 | 
					    // Watch for changes in the files listed
 | 
				
			||||||
    async function watchFilesInList() {
 | 
					    async function watchFilesInList() {
 | 
				
			||||||
      //only check new file ---> fileList - fileList_old = new file
 | 
					      //only check new file ---> fileList - fileList_old = new file
 | 
				
			||||||
      await fileList
 | 
					      await fileList.slice(0,20)
 | 
				
			||||||
        ?.filter((i) => fileList_old.includes(i) === false)
 | 
					        ?.filter((i) => fileList_old.includes(i) === false)
 | 
				
			||||||
        ?.forEach((fileName) => {
 | 
					        ?.forEach((fileName) => {
 | 
				
			||||||
          //path file
 | 
					          //path file
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue