Skip to content

Gulp isn't running tasks in a series #2473

Answered by phated
EmilyBonar asked this question in Help
Discussion options

You must be logged in to vote

@EmilyBonar You shouldn't be putting task() calls inside another task; there would be no way for gulp to know that a task would be registered inside.

I highly recommend you read through the "Getting started" guide on our website which explains tasks and async completion. It will also show you to use exports instead of the task function which isn't recommended anymore because people end up in situations like you've described.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by EmilyBonar
Comment options

You must be logged in to vote
1 reply
@phated
Comment options

Comment options

You must be logged in to vote
1 reply
@EmilyBonar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants