Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
docs: note delayed delivery of file system change events (#659)
Jiri Sveceny12f031ce6d42
diff --git a/apps/web/src/app/(docs)/docs/filesystem/watch/page.mdx b/apps/web/src/app/(docs)/docs/filesystem/watch/page.mdxindex 00dc0c112..15383056e 100644--- a/apps/web/src/app/(docs)/docs/filesystem/watch/page.mdx+++ b/apps/web/src/app/(docs)/docs/filesystem/watch/page.mdx@@ -2,6 +2,11 @@You can watch a directory for changes using the `files.watchDir()` method in JavaScript and `files.watch_dir()` method in Python.+<Note>+Since events are tracked asynchronously, their delivery may be delayed.+It's recommended not to collect or close watcher immediately after making a change.+</Note>+<CodeGroup>```jsimport { Sandbox, FilesystemEventType } from '@e2b/code-interpreter'