gruf
gruf copied to clipboard
Question: is hot code reloading for other paths possible?
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.
@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.