Repository navigation
Commit 9835edf
committed
Add a grace period when resuming the workspace file watcher to prevent race conditions
- when applying response, file watcher starts prematurely, e.g. when we created many files
└── apps
└── editor
└── src
├── commands
│ ├── apply-response-command
│ │ ├── apply-response-command.ts
│ │ ├── index.ts
│ │ ├── response-processor
│ │ │ ├── handlers
│ │ │ │ ├── diff-handler.ts
│ │ │ │ ├── fast-replace-handler.ts
│ │ │ │ └── search-replace-handler.ts
│ │ │ └── response-processor.ts
│ │ └── utils
│ │ ├── preview
│ │ │ └── workspace-listener.ts
│ │ └── preview-handler.ts
│ └── index.ts
├── context
│ └── providers
│ └── workspace
│ └── workspace-provider.ts
└── extension.ts1 parent 0201b04 commit 9835edf
1 file changed
Lines changed: 31 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
273 | 274 | | |
274 | 275 | | |
275 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
276 | 280 | | |
277 | 281 | | |
278 | 282 | | |
| |||
366 | 370 | | |
367 | 371 | | |
368 | 372 | | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
369 | 377 | | |
370 | 378 | | |
371 | 379 | | |
372 | 380 | | |
373 | | - | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
374 | 388 | | |
375 | 389 | | |
376 | 390 | | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
377 | 403 | | |
378 | 404 | | |
379 | 405 | | |
380 | 406 | | |
381 | 407 | | |
382 | | - | |
| 408 | + | |
383 | 409 | | |
384 | 410 | | |
385 | 411 | | |
| |||
421 | 447 | | |
422 | 448 | | |
423 | 449 | | |
424 | | - | |
| 450 | + | |
425 | 451 | | |
426 | 452 | | |
427 | 453 | | |
| |||
735 | 761 | | |
736 | 762 | | |
737 | 763 | | |
738 | | - | |
| 764 | + | |
739 | 765 | | |
740 | 766 | | |
741 | 767 | | |
| |||
1328 | 1354 | | |
1329 | 1355 | | |
1330 | 1356 | | |
1331 | | - | |
| 1357 | + | |
1332 | 1358 | | |
1333 | 1359 | | |
1334 | 1360 | | |
| |||
0 commit comments