fix: wait for watched files to finish being written (#17100) (#21180)

This makes the external library watcher wait for files in watched directories to finish being written before queuing jobs for each file.
This commit is contained in:
Vietbao Tran
2025-08-24 19:33:24 -07:00
committed by GitHub
parent 3f1e11afcc
commit 1af10ded74

View File

@@ -123,6 +123,10 @@ export class LibraryService extends BaseService {
{
usePolling: false,
ignoreInitial: true,
awaitWriteFinish: {
stabilityThreshold: 5000,
pollInterval: 1000,
},
},
{
onReady: () => _resolve(),