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

Hot Reload - File IO issues -> DAB reacts to multiple file change notifications for single file change #2423

Open
seantleonard opened this issue Oct 14, 2024 · 0 comments · May be fixed by #2424
Assignees
Labels
🔥Hot Reload Tasks related to DAB's Hot Reload feature proposal
Milestone

Comments

@seantleonard
Copy link
Contributor

When saving a file, I've observed that multiple file changed events are triggered. This is something that the dotnet team acknowledges and provides sample code in the documentation to hash the file contents and check new hash versus old hash before proceeded with reacting to a file change notification. DAB should integrate those suggestions: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/change-tokens?view=aspnetcore-8.0#simple-startup-change-token

@seantleonard seantleonard added this to the 1.3 milestone Oct 14, 2024
@seantleonard seantleonard added the 🔥Hot Reload Tasks related to DAB's Hot Reload feature proposal label Oct 14, 2024
@seantleonard seantleonard self-assigned this Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔥Hot Reload Tasks related to DAB's Hot Reload feature proposal
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant