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

ensure we apply our presets to local cache #3503

Merged
merged 5 commits into from
Jan 2, 2024

Conversation

gcampbell-msft
Copy link
Collaborator

@gcampbell-msft gcampbell-msft commented Dec 19, 2023

This ensures that adding the build preset doesn't overwrite the contents we wanted to write for the configure preset.

Because we can't await the call to reapplyPresets from the chokidar file watcher, we must call it explicitly and await it here as well to ensure that we don't have races to the file and to the cache, which causes issues.

Fixes #3376

@snehara99 snehara99 merged commit e31987c into main Jan 2, 2024
4 checks passed
@snehara99 snehara99 deleted the dev/gcampbell/FixAddPreset branch January 2, 2024 06:24
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.

Adding a new configure preset from compilers actually adds a build preset
2 participants