tsloughter / rebar3_erlydtl_plugin

Rebar3 Erlydtl Plugin
Other
11 stars 33 forks source link

force_recompile is ignored #15

Open TheGeorge opened 8 years ago

TheGeorge commented 8 years ago

Since needs_compile() is used exclusively to check if a file has changed the force_recompile option in compiler_options is ignored.

tsloughter commented 8 years ago

Ah, yes, thanks, that needs to be changed.

TheGeorge commented 8 years ago

I don't think that you need that check there in the first place.

erlydtl itself only recompiles the templates if they have changed if the force_recompile option is not set.

tsloughter commented 8 years ago

Good point. I'll try to remember to take that out. I need to figure out why erlydtl 0.12.0 hex package doesn't work properly so I can fix up the plugin and publish, will include this change as well when I do.