Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Watchify : TwigException: There is already a template with the ID #8

Open
kevinboudot opened this issue Dec 1, 2016 · 0 comments
Open

Comments

@kevinboudot
Copy link

Watchify : When modifying a template, twig considers that its id already exists

TwigException: There is already a template with the ID...

This solution works, but it's probably the bad way to fix it 😩

var template = twig({
  id: id + Date.now(),
  data: minified
});

(index.js, line 17)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant