Skip to content

Patternlab engine-twig watcher doesn't build correctly #1310

Open
@ray87

Description

@ray87

I am using Pattern Lab Node v5.14.2 on Windows / Mac / Dockerized, tested with Node v12.22, v14.x, v15.x, using a Gulp or Vanilla Edition.

Expected Behavior

After changing pattern, the watcher should build all components and create new rendered versions for UI. The process doesn't throw any errors or warning, everything seems to run as it should and refreshes the browser. The UI then should show updated patterns.

Actual Behavior

After browser updates, it still shows old rendered version, but updated twig-file. After running patternlab build from console and refreshing browser manually, it shows updated versions.

Steps to Reproduce

Install @pattern-lab/engine-twig@15.4.0, create an dummy pattern with just text in it. Run pl:serve, change pattern, check browser.

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