Fix tasks never finishing (and thus never starting their deps) (see issue #2)

Per issue #2, this is a suggested fix for the problem.  (I'm not familiar enough with Mocha or Gulp yet to write a test for this, sorry.)