twig-html-loader icon indicating copy to clipboard operation
twig-html-loader copied to clipboard

Question: Any solution to add to context freshly created templates?

Open mrlss opened this issue 4 years ago • 2 comments

Hello. Is there any chance to add newly created template to context, so plugin can compile it without reloading build?

mrlss avatar May 26 '20 19:05 mrlss

AFAIK, no. twig-loader should help.

radiocity avatar May 28 '20 05:05 radiocity

I agree with that, unfortunately, it's not possible to load fresh view/layout/template into the current context... It would be good to "watch", I guess, only Twig "namespaces", and prevent the user to manually stop/reload the current build.

xavierfoucrier avatar Aug 06 '21 15:08 xavierfoucrier