You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when working on a pattern in which I include another pattern using the [pattern].yml or [pattern].json file, it only works on the initial build of the pattern lab. When running php core/console --watch and i change that data file or simply some css that makes PL recompile to the public folder, I only get Array as output.
Then I have to quit the PL watch task an rerun it.
Hi, thanks for reporting this! Unfortunately DTP does not work properly when using PL's --watch feature. I hope to find some time to investigate the problem in the near future, but meanwhile I suggest using something like Gulp to watch for changes and call PL's --generate.
Hi,
that actually sounds like a solution to us. We were investigating the problem right now and assume that its related to this file: /pattern-lab/core/src/PatternLab/Console/Commands/ServerCommand.php.
On line 66 the watch command is build and it gets the hard coded option --no-procs which disables all plugins for that process. But i guess this happens in multiple locations. Cause it's not only related to the --server --with-watch command, but also to the --watch itself.
Hi,
when working on a pattern in which I include another pattern using the [pattern].yml or [pattern].json file, it only works on the initial build of the pattern lab. When running
php core/console --watch
and i change that data file or simply some css that makes PL recompile to the public folder, I only getArray
as output.Then I have to quit the PL watch task an rerun it.
Example YAML:
The text was updated successfully, but these errors were encountered: