This repository was archived by the owner on Feb 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Watcher doesn't update browser displayΒ #25
Copy link
Copy link
Open
Description
Background:
- I got super excited reading Atomic Design and listening to the style guide podcast, so I installed the pre-built Twig standard version today on Windows 10. β¨
- I'm using Wampserver64 to serve the project. I've been using wamp successfully for other PHP projects for a while. However, I'm not familiar with PHP CLI.
- I first tried
php core/console --servein a Git Bash terminal and everything looked good in the terminal, but when I go tolocalhost:8080there's a "connection refused" error. - With wamp I can access the site at
http://localhost/pattern-lab/public. - My system PHP version is
PHP 5.6.19 (cli) (built: Mar 2 2016 20:09:42). php core/console --generateseems to work perfectly.
Problem:
When I type php core/console --watch in the terminal, it looks good:
$ php core/console --watch
configuring pattern lab...
spawning the watch process...
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! π
Metadata
Metadata
Assignees
Labels
No labels