Skip to content

Twig does not reload template on changes (PHP and node) #1487

Closed
@JosefBredereck

Description

@JosefBredereck

I am using Pattern Lab Node v6.0.1 on Windows | Mac | Linux, with Node v16.17.0, using a Twig Edition.

Expected Behavior

When I change any twig template, pattern lab rebuilds and reloads the page.
The new template is applied and visible in the output view.

Actual Behavior

When I change any twig template, pattern lab rebuilds and reloads the page.
No changes are visible, and they are not present in the template.

Steps to Reproduce
  1. npm create pattern-lab
  2. follow the steps to install twig
  3. patternlab install --starterkits @pattern-lab/starterkit-twig-demo
  4. npm run start
  5. Navigate to pages ⇾ homepage
  6. change anything in templates ⇾ homepage or underlying components
  7. Observe the output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions