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: template result comparison #9279

Merged
merged 1 commit into from
Jun 21, 2024
Merged

fix: template result comparison #9279

merged 1 commit into from
Jun 21, 2024

Conversation

pskelin
Copy link
Contributor

@pskelin pskelin commented Jun 21, 2024

Template generation has code that checks if the same content is produced and does not write the file to skip a refresh from the dev server.

This logic was broken and comparing a Buffer to a String leading to always refreshing the file content even if it is the same

FIXES: #9276
RELATED: #8824

@pskelin pskelin requested review from ilhan007 and dimovpetar June 21, 2024 06:21
@pskelin pskelin merged commit 3a02e3e into main Jun 21, 2024
10 checks passed
@pskelin pskelin deleted the fix-template-watch branch June 21, 2024 06: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.

[build]: improve HBS watch
2 participants