# Ionic + Gulp Workflow

**URL:** <https://forum.ionicframework.com/t/ionic-gulp-workflow/17633>\
**Category:** uncategorized\
**Created:** [February 15, 2015, 12:06am UTC](https://forum.ionicframework.com/t/ionic-gulp-workflow/17633 "2015-02-15T00:06:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasconcelloslf](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@vasconcelloslf](https://forum.ionicframework.com/u/vasconcelloslf)\
**Post date:** [February 15, 2015, 12:06am UTC](https://forum.ionicframework.com/t/ionic-gulp-workflow/17633/1 "2015-02-15T00:06:45Z")

</div>

Hi.

What benefits can I get from adding gulp to my ionic app development workflow? Can you guys share how you work with them together?

Thank you.

---

<div class="post-metadata">

**Author:** ![cameronbourke](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/cameronbourke/32/66516_2.png) [@cameronbourke](https://forum.ionicframework.com/u/cameronbourke)\
**Post date:** [February 15, 2015, 3:05am UTC](https://forum.ionicframework.com/t/ionic-gulp-workflow/17633/2 "2015-02-15T03:05:32Z")

</div>

Hey @vasconcelloslf

LevelUpTuts+ do a great short series on learning gulp. [https://www.youtube.com/watch?v=wNlEK8qrb0M](https://www.youtube.com/watch?v=wNlEK8qrb0M).

What gulp allows you to do is automate the workflow when working with Ionic.

Repetitive tasks like compiling Sass, minifying css & js, compressing images etc can be time consuming to do manually, so all gulp really does is just automate these tasks for you, usually when certain files that you’ve nominated changed.

---

<div class="post-metadata">

**Author:** ![CyberFerret](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/cyberferret/32/72111_2.png) [@CyberFerret](https://forum.ionicframework.com/u/CyberFerret)\
**Post date:** [February 15, 2015, 9:29am UTC](https://forum.ionicframework.com/t/ionic-gulp-workflow/17633/3 "2015-02-15T09:29:23Z")

</div>

At present I use it just for compiling my sass and fonts etc. but looking to expand this a bit more.

Would love to hear if anyone has come up with any other useful Gulp recipes for Ionic development. I was thinking perhaps using it to speed up git check ins or building production images etc.

---

<div class="post-metadata">

**Author:** ![cameronbourke](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/cameronbourke/32/66516_2.png) [@cameronbourke](https://forum.ionicframework.com/u/cameronbourke)\
**Post date:** [February 15, 2015, 10:39am UTC](https://forum.ionicframework.com/t/ionic-gulp-workflow/17633/4 "2015-02-15T10:39:40Z")

</div>

Are you using `gulp-autoprefixer`. That’s a must, not sure why the starter app’s don’t include that gulp module out of the box.

---

<div class="post-metadata">

**Author:** ![CyberFerret](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/cyberferret/32/72111_2.png) [@CyberFerret](https://forum.ionicframework.com/u/CyberFerret)\
**Post date:** [February 15, 2015, 11:28am UTC](https://forum.ionicframework.com/t/ionic-gulp-workflow/17633/5 "2015-02-15T11:28:07Z")

</div>

Thanks for the heads up - I just checked out `gulp-autoprefixer` and it looks like a cool package - might install that one tonight.

This is the sort of thing I am talking about - there must be a myriad of `gulp` packages out there that will be useful for Angular/Ionic projects.

In the same vein, I have been looking for Sublime Text extensions to help as well - found some good packages for prettying up code display and formatting etc. Must be some good Angular based ones out there that I have missed.

---

<div class="post-metadata">

**Author:** ![WidawskiJ](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/widawskij/32/7606_2.png) [@WidawskiJ](https://forum.ionicframework.com/u/WidawskiJ)\
**Post date:** [February 15, 2015, 12:02pm UTC](https://forum.ionicframework.com/t/ionic-gulp-workflow/17633/6 "2015-02-15T12:02:34Z")

</div>

I highly suggest you take a look at the [Yeoman Ionic Generator](https://github.com/diegonetto/generator-ionic) which is absolutely awesome

---

<div class="post-metadata">

**Author:** ![tmaximini](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@tmaximini](https://forum.ionicframework.com/u/tmaximini)\
**Post date:** [February 17, 2015, 12:49pm UTC](https://forum.ionicframework.com/t/ionic-gulp-workflow/17633/7 "2015-02-17T12:49:58Z")

</div>

For me the biggest benefits of using gulp are speed and modularity, which allows very fine grain control over my workflow.  
When using the yeoman generator, I felt it was too bloated with stuff I didn’t need and too slow sometimes for recompilation and live reload. I also think that gulp’s syntax is far easier to read and understand than Grunt’s which is especially helpful when working in teams.  
I recently wrote a blog post about my workflow with gulp + ionic: [http://www.thomasmaximini.com/2015/02/10/speeding-up-ionic-app-development-with-gulp.html](http://www.thomasmaximini.com/2015/02/10/speeding-up-ionic-app-development-with-gulp.html)  
I hope it helps!  
Update: I published a Yeoman generator for Ionic with Gulp: [https://github.com/tmaximini/generator-ionic-gulp](https://github.com/tmaximini/generator-ionic-gulp)

---

<div class="post-metadata">

**Author:** ![vasconcelloslf](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@vasconcelloslf](https://forum.ionicframework.com/u/vasconcelloslf)\
**Post date:** [February 17, 2015, 2:38pm UTC](https://forum.ionicframework.com/t/ionic-gulp-workflow/17633/8 "2015-02-17T14:38:47Z")

</div>

Hey @tmaximini, this was exactly the kind of stuff I was looking for. Thanks.
