We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

How to create a template without manually regenerate the page all the time

  • #5762
    Avatar photo[anonymous]

    Hi there,

    I am in process of creating my first custom template for Publii – so far I hit “preview your changes” a couple of times per minute and need to wait to find out if my changes worked.

    Do you have suggestions how to either preview the results without refresh or refresh automatically?
    I am experienced with npm, webpack and similar and in other projects I would to browser sync or similar.
    Is there a way like that for Publii? Would make it so much faster to get to results.

    Best wishes

    Avatar photo[anonymous]

    Post about the same topic.

    Hope there is something up around the corner – otherways I will likely need to check back with Publii some time later.
    Developing themes while pressing “regenerate” all the time is not the way to get things done. And I would so love to use Publii productively.

    Avatar photoBob