fix: lazily load @parcel/watcher in @tailwindcss/cli#20340
fix: lazily load @parcel/watcher in @tailwindcss/cli#20340deepshekhardas wants to merge 4 commits into
Conversation
We weren't taking the `err.cause` into account, which could include useful information.
Confidence Score: 5/5The change is safe to merge. It only affects module loading order and error formatting; no build logic, CSS compilation, or watcher behaviour is altered. The lazy-load refactor is a targeted, low-risk change: a static top-level import becomes a dynamic import wrapped in a try/catch with a clear user-facing error. The No files require special attention. Reviews (1): Last reviewed commit: "update CHANGELOG" | Re-trigger Greptile |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
WalkthroughThe CLI build command now formats errors with wrapped output and recursive cause handling. Watcher loading moved from module initialization to a dynamic import performed before watch-mode setup, with failures reported through the CLI error path. Watch and polling rebuild handlers use the shared formatter. Renderer word wrapping avoids creating an empty line before an oversized word. The unreleased changelog records the watcher-loading fix. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches⚔️ Resolve merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Cherry-pick of PR #20325