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

MacrosConfig should sync globalConfigs between copies #1994

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Jun 20, 2024

It's a bug that most of the MacrosConfig state is synchronized between copies of @embroider/macros but the globalConfigs object is not.

It's a bug that most of the MacrosConfig state is synchronized between copies of @embroider/macros but the globalConfigs object is not.
@ef4 ef4 added the bug Something isn't working label Jun 20, 2024
Copy link
Member

@mansona mansona left a comment

Choose a reason for hiding this comment

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

:shipit:

@mansona mansona merged commit 18b2615 into stable Jun 20, 2024
203 checks passed
@mansona mansona deleted the fix-macro-globals branch June 20, 2024 12:45
@github-actions github-actions bot mentioned this pull request Jun 20, 2024
@runspired
Copy link

love this, was a giant troll figuring out the app was a necessary key when creating @warp-drive/build-config, would love to drop both that and __dirname as args if possible.

@ef4
Copy link
Contributor Author

ef4 commented Jun 20, 2024

It was a bug that some state wasn't shared for a given key, but there's no plan to drop the key entirely. That would imply that it's never possible to talk about two apps in one node process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants