We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d29678 commit 9704ef0Copy full SHA for 9704ef0
apps/array/src/main/services/fileWatcher.ts
@@ -124,7 +124,11 @@ class FileService {
124
125
for (const event of events) {
126
state.pendingDirs.add(path.dirname(event.path));
127
- if (event.type === "update") {
+
128
+ // Handle both "update" and "create" events as file changes
129
+ // Atomic writes (like the claude code Write tool) produce "create"
130
+ // events because they write to a temp file then rename/move it
131
+ if (event.type === "update" || event.type === "create") {
132
state.pendingFiles.add(event.path);
133
} else if (event.type === "delete") {
134
state.pendingDeletes.add(event.path);
0 commit comments