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