Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(jsx-email): rollback the watcher to only watch entrypoint directories #258

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

shellscape
Copy link
Owner

…ries

Component / Package Name:

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

Description

This PR rolls back the watcher code to where it only watches directories for templates. The previous code that tried to track directories of dependencies had unintended edge cases when imports from project root directories were made in templates. That resulted in picking up changes from files that were never intended.

A subsequent PR will add dependency/import watching (for things like local component imports) back in.

@shellscape shellscape changed the title fix(jsx-email): rollback the watcher to only watch entrypoint directo… fix(jsx-email): rollback the watcher to only watch entrypoint directories Dec 3, 2024
@shellscape shellscape merged commit 1c31c6f into main Dec 3, 2024
10 checks passed
@shellscape shellscape deleted the fix/jsx-email/rollback-watcher branch December 3, 2024 04:14
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.

1 participant