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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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