         else
           tagsToGo = tags.length
           tags.each ->
-            manipulation $(this), ->
+            manipulation $(this), (error) ->
               tagsToGo -= 1
               if tagsToGo is 0
                 file.contents = new Buffer $.html()
-                callback null, file
+                callback error, file
 
 compileInlineTags = ->
   CoffeeScript = require 'coffee-script'

          tag.html content
          callback error

gulp.task 'html', ->
  ect = require 'gulp-ect'
  htmlFileToDirectory = require 'gulp-html-file-to-directory'


    gulp.src files.html
      .pipe filelog()
      .pipe loggingErrors ect {data}
      .pipe compileInlineTags()
      .pipe htmlFileToDirectory()
      .pipe gulp.dest localBuildDir ? buildDir
