Trying to study https://github.com/jhades/angularjs-gulp-example/blob/master/gulpfile.js, and I have noticed that for the task build
there is a dependency clean
. However, for most of the other definitions clean
is also specified as a dependency! So if I run build
it will run clean
, but then what about build-css
and build-template-cache
which both also have clean
dependencies, etc... will it also run the clean
for each of those dependencies? So basically will running the one command gulp build
end up running clean
more than once... wiping out the output from other dependencies.... or will running clean
the first time explicitly satisfy the dependency for the other dependencies and prevent clean
from running again!?
Any pointers will be appreciated.
Please Note
I am NOT asking about what the proper cleaning techniques are! I am specifically asking about the link that I posted... and how IT is handling the clean
task.