-
Notifications
You must be signed in to change notification settings - Fork 32
Watcher doesn't update browser display #25
Comments
Hey @KatieMFritz, Another option could be using a tool like Grunt/Gulp to listen for changes. Here's how I've done it in the past: http://bradfrost.com/blog/post/using-grunt-with-pattern-lab/ (Note you'd have to change the Pattern Lab build command to |
-p doesn't seem to be an option for me, when I try it I get this response:
|
Thanks, @bradfrost. I'm still getting comfortable with build tools, so I'll revisit this after I figure out what I'm doing with Grunt or Gulp. 😄 |
I have the same issue. Watch does nothing when editing SASS partials. No css compiling is taking place. --generate only generates twig and js changes but no CSS. |
Background:
php core/console --serve
in a Git Bash terminal and everything looked good in the terminal, but when I go tolocalhost:8080
there's a "connection refused" error.http://localhost/pattern-lab/public
.PHP 5.6.19 (cli) (built: Mar 2 2016 20:09:42)
.php core/console --generate
seems to work perfectly.Problem:
When I type
php core/console --watch
in the terminal, it looks good:But then nothing else happens, either in the terminal or in the browser, when I update and save files. I have to run
--generate
again to see my changes in the browser.Possibly related to #pattern-lab/patternlab-php#371 and/or #21?
I realize there might be something deeper going on, since I ran into problems with
--server
too. DevOps gets me every time. 🙄Any tips? Thanks! 😄
The text was updated successfully, but these errors were encountered: