superbigco / craft-mjml

Render Twig emails with MJML.
https://superbig.co
MIT License
25 stars 5 forks source link

Always render template if in LivePreview mode #10

Closed luke-nehemedia closed 4 years ago

luke-nehemedia commented 4 years ago

In LivePreview mode, the template is not rendered anew with every change, since there's already an output file existing.

This change makes sure that the template is rendered anew every time if in LivePreview.

luke-nehemedia commented 4 years ago

Found out that this function is actually marked as deprecated.

I will post a new request with the updated function.