     start   = 0
 
 
-    copyKd = (cb) ->
+    copyKd = (callback) ->
       kdPath = path.dirname require.resolve STYLES_KDJS_MODULE_NAME
       kdPath = kdPath.match(new RegExp('(.+)/'+STYLES_KDJS_MODULE_NAME))[1]
       kdCssFile = path.join kdPath, STYLES_KDJS_MODULE_NAME, STYLES_KDJS_CSS_FILE

          end_()


    bundle = (x) ->
      start = Date.now()

      x.sprites.forEach (basename) ->
        dir = path.join x.basedir, basename
        smith x, dir

        if opts.watchSprites
          w = chokidar.watch dir, persistent: yes

    if opts.watchJs
      b = bant.watch opts_
      b.on 'update', (ids) ->
        ids.forEach (id) ->
          console.log 'updated ' + id
        bundle()
    else
      b = bant opts_
