 
     app.use(gruntAssets)
 
-    unless config.debug
+  errorReporters = ->
+    if config.debug
+      app.use(express.errorHandler(dumpExceptions: true, showStack: true))
+      app.use(express.logger('dev'))
+    else
       app.use(express.compress())
       app.use(express.logger('default'))
-    else
-      app.use(express.errorHandler(dumpExceptions: true, showStack: true))
-      app.use(express.logger('dev'))
 
 
 #=========================================================================================


  # Fire up the server
  app.use(app.router)
  server.use(app)

  if config.debug

      process.exit()
    else
      cluster.fork()

else


