   #   cserver += @watcher.getSubSectionConcatenated "Server","Models"
   #   cserver += @watcher.getSubSectionConcatenated "Server","OtherStuff"
   #   cserver  = @wrapWithJSClosure cserver
-  #   fs.writeFile @targetPaths.server,cserver,(err) -> 
+  #   fs.writeFile @targetPaths.server,cserver,(err) ->
   #     log.info "Server code is re-compiled."
   #     callback? null
-    
+
   #   if @options.dontStart
   #     fs.writeFile @targetPaths.serverProd,cserver,(err)=>
   #       unless err
   #         log.info "Server code is copied to #{@targetPaths.serverProd}"
   #       else
-  #         log.error "couldn't copy kd-server.js to #{@targetPaths.serverProd}, monit will not work." 
-          
+  #         log.error "couldn't copy kd-server.js to #{@targetPaths.serverProd}, monit will not work."
+
   buildCss:(options,callback)->
     cstylus = @watcher.getSubSectionConcatenated "Client","StylusFiles"
     ccssx   = @watcher.getSubSectionConcatenated "Client","CssFiles"
     ccss    = "#{ccssx}\n /* - */ \n#{cstylus}"
-    # stylus.render cstylus,(err,css)-> 
+    # stylus.render cstylus,(err,css)->
     #   ccss     = @watcher.getSubSectionConcatenated "Client",CssFiles
-    #   ccss    += "\n /* next file in line */ \n"+css 
+    #   ccss    += "\n /* next file in line */ \n"+css
     #   ccss     = sqwish.minify ccss if options.uglify
     fs.writeFile @options.css, ccss, (err) ->
       unless err

        st = "https://api.koding.com"  # CHANGE THIS TO SOMETHING THAT MAKES SENSE tbd
        index = index.replace ///#{st}///g,""
        log.warn "Static files will be served from NodeJS process. (because -d vpn is used - ONLY DEVS should do this.)"
      fs.writeFile @options.index,index,(err) -> 
        throw err if err
        unless err 
          log.info "Index.html is ready."
          if require("os").platform() is 'linux'
            exec "notify-send \"Koding instance updated\""

    libraries  = clibraries

    @middleware @options, {libraries, kdjs}, (err,finalCode)=>
      fs.writeFile @options.js, finalCode, (err) =>
        log.info "Client code is re-compiled and saved."
        callback? null

