Created
June 30, 2014 14:12
-
-
Save nmccready/f60390e5bf6290915779 to your computer and use it in GitHub Desktop.
Make sure clean happens first and is finished, then execute other tasks with max parallelism . This is important as clean can be in the middle of deleting otherwise and then one,two or three could be creating files or dirs. If this happens or collides then you will get rmdir or rmfile errors inconsistently.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp.task "clean", -> | |
gulp.src('dist', read: false) | |
.pipe clean() | |
gulp.task "one", -> | |
gulp.task "two", -> | |
gulp.task "three", -> | |
gulp.task "default", ["clean"], -> | |
gulp.start ["one","two","three"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://goo.gl/6NVZku