Add template preview #1451
Labels
documentation
Issue that requires updating docs
enhancement
good first issue
Easy things for newbies
Milestone
Actual Situation
During developing my pretty advanced template, when I want to check how my update will render in the downstream projects, I usually:
dev
branch, but it became exhausting),poe bump
(wrapper aroundcopier update
)I know I can update from a template in a directory that is locally in my filesystem, but it would conflict with my
poe bump
command that not only is configured to pull changes from the skeleton repository on GitHub, but also automatically makes a commit.And this is a pretty messy workflow and it definitely shouldn't be like that.
Desired Situation
I can easily inspect how my copier template renders as I am developing it, ideally with hot-reloading.
Proposed solution
A browser-based or IDE-based GUI for previewing a template that is made in a temporary directory as the developer makes changes with hot-reloading (I suggest watchfiles).
My goal would be getting a DX like when writing a React application.
The text was updated successfully, but these errors were encountered: