Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Oct 4, 2024
1 parent 87351a6 commit f7c48d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,15 @@ chokidar.watch('file', {
// ignored: (file, _stats) => _stats?.isFile() && !file.endsWith('.txt'),

awaitWriteFinish: true, // emit single event when chunked writes are completed
atomic: true // emit proper events when "atomic writes" (mv _tmp file) are used
atomic: true, // emit proper events when "atomic writes" (mv _tmp file) are used

// The options also allow specifying custom intervals in ms
// awaitWriteFinish: {
// stabilityThreshold: 2000,
// pollInterval: 100
// },
// atomic: 100,

interval: 100,
binaryInterval: 300,

Expand Down

0 comments on commit f7c48d8

Please sign in to comment.