         server.serveFile '/test/index.html', 200, {}, request, response
         gutil.log "served #{request.url}"
       else
-        server.serve(request, response, (error, result)->
-          if error then gutil.log "error serving #{request.url}"
-          else gutil.log "served #{request.url}"
+        server.serve(request, response, (error, result) ->
+          if error
+            gutil.log "error serving #{request.url}"
+          else
+            gutil.log "served #{request.url}"
         )
     ).resume()
   ).listen 4242
-  gutil.log "test server started at http://localhost:4242\n"
+  gutil.log 'test server started at http://localhost:4242\n'

    if err? then cb err
    else if files?
      ZUUL_OPTS.push files...
      child = spawn "zuul", ZUUL_OPTS, { stdio: 'inherit' }
      child.on 'close', (code) ->
        gutil.log "browser tests completed"
        cb()
  null
    
gulp.task 'travis', [ 'test', 'coveralls' ], ->

gulp.task 'testwatch', ['test' ], ->


handleCompileError = (e) ->
  if e.name is 'SyntaxError'
    gutil.log e.stack
  else
    gutil.log e.message
  @emit 'end'

