patternengine-php-twig icon indicating copy to clipboard operation
patternengine-php-twig copied to clipboard

Watch for Changes appears to be hanging

Open pensandpencils opened this issue 8 years ago • 2 comments

When setting Pattern Lab to watch for changes in Terminal, OS Sierra, the following is output:

php core/console --watch configuring pattern lab... spawning the watch process...

And then nothing happens. Making changes to any files doesn't cause any changes/updates/rebuilds of any kind. Pressing ctrl+c still has to be used to stop watching/clear the spawning message.

Any ideas what I might be doing wrong?

pensandpencils avatar Dec 08 '16 09:12 pensandpencils

My guess is that there's some error in a .twig file causing the generation to fail. What happens if you just do --generate? Does it generate all the files successfully?

mogsie avatar Dec 22 '16 13:12 mogsie

Error in twig template seem to break patternlab watch. Better error reporting would be great.

erik-seifert avatar Apr 20 '18 08:04 erik-seifert