Skip to content

Conversation

@alexprudhomme
Copy link
Contributor

was broken by recent pr with the custom-element-tags.ts

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a dev mode infinite loop issue introduced when custom-element-tags.ts was added to the codebase. The file is auto-generated during build, causing it to be regenerated on every file change in dev mode, which triggers another build cycle.

  • Adds atomic-no-results component tag to the auto-generated custom element tags list
  • Excludes custom-element-tags.ts from the dev mode file watcher to prevent infinite rebuild loops

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/atomic/src/utils/custom-element-tags.ts Adds atomic-no-results to the alphabetized list of custom element tags (auto-generated file)
packages/atomic/scripts/dev.mjs Excludes custom-element-tags.ts from file watcher to prevent infinite build loops since this file is regenerated during builds

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@alexprudhomme alexprudhomme added this pull request to the merge queue Nov 24, 2025
Merged via the queue into main with commit 97c0649 Nov 24, 2025
88 checks passed
@alexprudhomme alexprudhomme deleted the fix-dev-mode branch November 24, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants