Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

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

Open
mrlss opened this issue May 26, 2020 · 2 comments
Open

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

mrlss opened this issue May 26, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@mrlss
Copy link

mrlss commented May 26, 2020

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

@radiocity radiocity added the enhancement New feature or request label May 28, 2020
@radiocity
Copy link
Owner

AFAIK, no. twig-loader should help.

@xavierfoucrier
Copy link

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.

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

No branches or pull requests

3 participants