panini icon indicating copy to clipboard operation
panini copied to clipboard

Add a simple reset function

Open t-moennich opened this issue 4 years ago • 0 comments

We use panini for e-mail development and testing in a i18n multi product environment.

Sometimes panini picked up the wrong partials (same file name, different directories) so we end up with this simple workaround. Everytime a file was changed, we reset the global panini object and enforce a fresh creation.

As this fixed our issues this may be related to some internal caching issues. Any other working solution would be appreciated :)

t-moennich avatar Mar 01 '21 09:03 t-moennich