     .pipe gulp.dest(paths.scripts)
     .pipe browserSync.reload(stream: true)
 
-gulp.task "vendorJS", ->
+gulp.task "vendor-js", ->
   gulp.src "#{paths.coffee}/vendor.js"
     .pipe include()
     .on "error", (error) -> gutil.log(error.message)

  runSequence ["generate-swift", "run-swift"]

gulp.task "build", ->
  runSequence ["sass", "coffee", "vendorJS"], "lintSass", "jekyll-build", "swift"

gulp.task "clean",
  del.bind(null, ["_site"])

gulp.task "watch", ["sass", "coffee", "jekyll-serve"], ->
  gulp.watch "#{paths.sass}/**/*.scss", ["sass"]
  gulp.watch "#{paths.coffee}/**/*.coffee", ["coffee"]
  gulp.watch "#{paths.coffee}/vendor.js", ["vendorJS"]
  gulp.watch paths.jekyllFiles, ["jekyll-rebuild"]

gulp.task "jekyll-serve", ->
  run "bundle exec jekyll build --config _config.yml,_config.serve.yml", silent: true
  browserSync.notify messages.jekyllBuild

gulp.task "jekyll-build", ->
  run "bundle exec jekyll build", silent: true
    .exec()

gulp.task "jekyll-rebuild", ["jekyll-serve"], ->
  browserSync.reload()

gulp.task "doctor", ->

    .pipe gulp.dest(paths.styles)
    .pipe browserSync.reload(stream: true)

gulp.task "list-scss", ->
  gulp.src "#{paths.sass}/*.scss"
    .pipe cache paths.sass
    .pipe scssLint
