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

Allow hot-reloading phlexing gem #408

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Allow hot-reloading phlexing gem #408

wants to merge 1 commit into from

Conversation

bb
Copy link
Contributor

@bb bb commented Sep 14, 2024

When prototyping for #405 I wanted the phlexing gem to be hot reloaded. I think this is valuable for any future development of this app.

I needed to rename the Rails App's main module to PhlexingApp because the existence of the Phlexing constant prevented the files from the embedded gem to be loaded at all. I didn't need to change the module names in app/lib/phlexing/renderer, but feel free to change those as well, if you see it fit.

See also: fxn/zeitwerk#287

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.

1 participant