I have a module that reads a json at compile time.
When I change the json I have to edit the .ex otherwise it will not be compiled with the new json data.
even
mix compile --force
does not help.
I have a module that reads a json at compile time.
When I change the json I have to edit the .ex otherwise it will not be compiled with the new json data.
even
mix compile --force
does not help.
You shoud add your json file as an @external_resource in your module.