mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
macOS recursive fs.watch fires multiple events per logical save and emits spurious "bubble" events for sibling directories. With the previous slow ~10s tailwind step those re-fires were absorbed between rebuilds; with ~60ms rebuilds the watcher entered a continuous-rebuild loop instead. - Coalesce events with a 75ms debounce window so one save fires one rebuild even when the editor produces several FS events. - Filter to source-relevant extensions (ts/tsx/css/html/images/fonts); ignore .DS_Store, .tsbuildinfo, swap files, and the extensionless bubble events (e.g. "rename images") that were the dominant source of the loop. - Optional FABRO_BUILD_DEBUG=1 logs which path queued or skipped each rebuild for future diagnosis. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| fabro-web | ||
| marketing | ||
| remotion | ||