title: Gulp task order
body: <p>I'm having some trouble with a couple of gulp tasks. i've tried everything and followed the documentation but nothing seems to work. Hoping someone can help.</p>
  
  <p>What i'm trying to do is have sass minification happen, then rsync the result to a local vagrant folder (NOT a remote server), then reload browser sync.</p>
  
  <p>The problem i am having is that I'm fighting the fact that gulp wants to run all the tasks together. I need them to happen one after the other. All the tasks work on their own, i am just having trouble making them run sequentially. I've tried callbacks and playing with dependency but i'm obviously missing something.</p>
  
  <p>My setup is complicated, all my tasks are in separate js files but i've tried to combine what i have into this single github gist so people can help. Thanks for any assistance.</p>
  
  <p><a href="https://gist.github.com/CodeStalker/9661725dcaf105d2ed6c" rel="nofollow">https://gist.github.com/CodeStalker/9661725dcaf105d2ed6c</a></p>
  
  <p>The only way I have got this to work is to pipe rsync onto the end of the sass magnification, and wrap it in gulp-if using a server: true variable so it only does the rsync if it knows its running on a VM. Not ideal.</p>