Hello, I’d like for some phoenix controllers or other modules to recompile when a file in the host filesystem changes. Is there a built-in way to do this? Thanks.
You could use @external_resource attribute…
Using this, does the module recompile while the application is running or while starting it? I’m asking because I need it to do it at runtime.
Can you elaborate on your use case? I would generally avoid rewriting code at runtime.
You are right, this was a bad way to think about things, I resorted to using file_system for this. Thanks a lot though!