Skip to content

Commit

Permalink
Add note to the recursive watch with rapid folder creation
Browse files Browse the repository at this point in the history
  • Loading branch information
dobrac committed Dec 19, 2024
1 parent 724e857 commit af9b6dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/web/src/app/(docs)/docs/filesystem/watch/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ for event in events: # $HighlightLine

You can enable recursive watching using the parameter `recursive`.

<Note>
When rapidly creating new folders (e.g., deeply nested path of folders), events other than `CREATE` might not be emitted. To avoid this behavior, create the required folder structure in advance.
</Note>

<CodeGroup>
```js
Expand Down

0 comments on commit af9b6dd

Please sign in to comment.