Skip to content
This repository was archived by the owner on Jun 26, 2018. It is now read-only.
This repository was archived by the owner on Jun 26, 2018. It is now read-only.

Issue with local build and editing pattern files. #363

@powpow12

Description

@powpow12

yesterday, I was trying to troubleshoot a pr but was having a problem updating the pattern locally. Here are my steps:

  1. git pull dev
  2. git checkout feature-branch
  3. cd styleguide
  4. gulp
  5. edit source/_patterns/03-organisms/by-template/emergency-alerts.twig
  6. Add random html to test editing the right file, <h2>Hello</h2> - save
  7. Go to http://localhost:3000/?p=organisms-emergency-alerts and confirm Hello is there.

This failed for me several times. At first I was concerned that gulp wasn't listening to file changes but we confirmed that it was. Also, there was a possibility I was editing the wrong file but I grep'd the _patterns directory and there were no results suggesting that. Finally, I got @isaacchansky to test locally, and when he did the above steps, PL worked as expected.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions