ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

Is "gulpDependentTasks" option in ionic.project working?

Open tamakisquare opened this issue 11 years ago • 5 comments

According to the doc:

gulpDependentTasks - gulp tasks that are run before ionic serve launches

I tried putting a gulp task, that prepares for the dev build, into the array but nothing happened. I tried googling "gulpDependentTasks" but didn't find any articles, besides the official doc, mentioning about it.

How is gulpDependentTasks supposed to function?

tamakisquare avatar Oct 08 '15 22:10 tamakisquare

I have the same problem.

yuitakano avatar Oct 29 '15 06:10 yuitakano

I have the same problem too.

guillaume-ro-fr avatar Nov 07 '15 20:11 guillaume-ro-fr

I see what happened, and I'm working on it. The name for the tasks was named wrong in the refactor.I'm patching it now.

jbavari avatar Nov 09 '15 14:11 jbavari

@tamakisquare I've found what happened.

The feature first came to us as a pull request back in August 5th.

It turns out, it follows the Britist spelling of gulpDependantTasks, and the documentation follows American english spelling of gulpDependentTasks.

For now, you can use gulpDependantTasks until we change the spelling in the code. I'll go ahead and update the ionic.project README information to use the correct spelling.

jbavari avatar Nov 09 '15 15:11 jbavari

@jbavari - Works like a charm! Thanks for figuring out the problem for us. No wonder I couldn't get any results when searching for gulpDependentTasks in the source code. That tiny 'a'/'e' culprit.

tamakisquare avatar Nov 09 '15 18:11 tamakisquare