Add locales task dependency to coffee gulp task.

This solves first compilation that executes coffee task before
locales are complely generated.
stable
Andrey Antukh 2014-08-25 18:31:57 +02:00
parent a237232339
commit bf15f49d49
1 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ gulp.task "styles", ["css", "sass"], ->
# JS Related tasks
##############################################################################
gulp.task "coffee", ->
gulp.task "coffee", ["locales"], ->
gulp.src(paths.coffee)
.pipe(plumber())
.pipe(coffee())
@ -227,12 +227,12 @@ gulp.task "watch", ->
# The default task (called when you run gulp from cli)
gulp.task "default", [
"locales",
"jade",
"template",
"styles",
"csslint-app",
"copy",
"locales",
"coffee",
"jslibs",
"connect",