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

Question: is hot code reloading for other paths possible? #172

Open
Freubert opened this issue Sep 29, 2022 · 1 comment
Open

Question: is hot code reloading for other paths possible? #172

Freubert opened this issue Sep 29, 2022 · 1 comment
Labels

Comments

@Freubert
Copy link

Is there a way to also reload other folders than app/rpc when using Rails? I can see that the Rails zeitwerk reloading is enabled for the known Rails folders (like app/models), but the Rails zeitwerk reload is obviously not triggered when the server runs on gruf and not Rails.

@splittingred
Copy link
Member

@Freubert not at this time; it's on the TODO - for rails it looks like we'll have to hook into Rails.application.reloader (if defined, it's not available in all rails versions), and add an interception point to automatically enable reloading by wrapping the intercepted block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants