@afokapu/atdd-flow 0.3.75 → 0.3.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -217,7 +217,11 @@ export function createInboxTransport({ root, seat, deliver, batchSize = defaultB
217
217
  };
218
218
  const start = async () => {
219
219
  await reconcile();
220
- try { watcher = fs.watch(pendingDirectory(root, seat), () => { void reconcile(); }); }
220
+ try {
221
+ // Watch a path that exists before the first queued mail, so a newly created queue wakes promptly.
222
+ await mkdir(pendingDirectory(root, seat), { recursive: true });
223
+ watcher = fs.watch(pendingDirectory(root, seat), () => { void reconcile(); });
224
+ }
221
225
  catch { /* Periodic reconciliation recovers unavailable watchers. */ }
222
226
  interval = setInterval(() => { void reconcile(); }, intervalMs);
223
227
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afokapu/atdd-flow",
3
- "version": "0.3.75",
3
+ "version": "0.3.76",
4
4
  "description": "Filesystem-first Desk registry for projects, seats, tasks, threads, and handoffs.",
5
5
  "type": "module",
6
6
  "bin": {