Default variables / re-parsing when variables change #2556
Unanswered
marvinhinz
asked this question in
Help needed
Replies: 1 comment
-
Please show the full example. But I suspect currently this is not possible, as "refreshing" no public. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
for our deployments we use various internal recipes. Often we include multiple recipes in the deployfile.
Using add("shared_files",[...]) works fine, but i am not sure how to solve the following problem:
Imagine the following setup:
recipe/test.php:
deploy.php
Now when running the deployfile, the shared dirs still contain foo instead of bar.
How could this test recipe be reused with other variables? In scss for example its possible to declare a variable as
!default
. That means its value will be set only if its not defined yet. Maybe parsing of the strings can be lazyloaded until all global variables are defined?Beta Was this translation helpful? Give feedback.
All reactions