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

Handle config file replacement by some editors #2474

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

muhamadazmy
Copy link
Contributor

@muhamadazmy muhamadazmy commented Jan 8, 2025

Handle config file replacement by some editors

Summary:
We are switching mainly to notify-debounce-full to fix an issue
with detecting file changes. This also gave us better control over
the file watch and allows us to handle config file replacement.

Also Some editors replace the file on save like what vim does.

Copy link
Contributor

@AhmedSoliman AhmedSoliman left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this. You'll need to rebase on main to regenerate the workspace-hack (cargo hakari generate)

Summary:
We are switching mainly to notify-debounce-full to fix an issue
with detecting file changes. This also gave us better control over
the file watch and allows us to handle config file replacement.

Also Some editors replace the file on save like what vim does.
@muhamadazmy
Copy link
Contributor Author

@AhmedSoliman Done! Thank you for your review! Also it probably gonna be a while before I remember to run cargo hakari generate after changes to the deps 😀

@muhamadazmy muhamadazmy merged commit 307e934 into restatedev:main Jan 10, 2025
28 checks passed
@muhamadazmy muhamadazmy deleted the pr2474 branch January 10, 2025 09:20
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.

2 participants