yesterday, I was trying to troubleshoot a pr but was having a problem updating the pattern locally. Here are my steps:
git pull dev
git checkout feature-branch
cd styleguide
gulp
- edit source/_patterns/03-organisms/by-template/emergency-alerts.twig
- Add random html to test editing the right file,
<h2>Hello</h2> - save
- 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.