Skip to content

Shouldn't an out-of-date dependency trigger an otherwise up-to-date task? #669

Answered by andreynering
ConX asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ConX, thanks for reaching out (and @ghostsquad for the good inputs).

Regarding this question:

Could you provide an equivalent real-life example where the current behavior of skipping the target task is desired despite the execution of its dependencies?

I think this web app example, although a very basic example, explains what I had in mind when I initially implemented this feature:

In this case js and css are dependencies of assets, which is a dependency of build. If you look at the sources of each task, you'll see it'll automatically work as you expect, because each task has as a source the generated files of its dependencies.

It never come to my mind that someone would want to tri…

Replies: 3 comments 14 replies

Comment options

You must be logged in to vote
11 replies
@ghostsquad
Comment options

@ghostsquad
Comment options

@ConX
Comment options

@ghostsquad
Comment options

@andreynering
Comment options

Comment options

You must be logged in to vote
3 replies
@ghostsquad
Comment options

@ConX
Comment options

@pavetok
Comment options

Answer selected by ConX
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants