pattern-lab / edition-php-twig-standard

Pattern Lab Standard Edition for Twig
http://patternlab.io/
MIT License
103 stars 32 forks source link

Watcher reloads content in twig file, but not its references. #21

Open simonerlandsen opened 8 years ago

simonerlandsen commented 8 years ago

Info:

To reproduce

Expected result: Both the molecule and the organism referencing the molecule should now contain the new class.

Result: The new class is included under the molecules pages, but not under the organisms pages where the molecule is referenced.

Temporary workaround: Reload watcher when looking at a referenced atom or molecule.

bagqueen commented 7 years ago

I have this issue too, I find it very annoying. I believe that the references to molecules did updated when I began the project, but not right now. I have no idea what could have caused the change. Is there a better fix for this then the workaround suggested?

vaxul commented 6 years ago

This is still a problem served by the latest twig integration.

Win 10 + PHP 7.2 + twig demo 3.0.1

Plain demo installation.

Changes in _source/patterns/03-templates/02-blog.twig updating templates-blog, but don't updating pages-blog.

This takes effect upwards in the whole hierarchy. Atoms don't update all above.

This seems twig Pattern Lab specific.