 jade = require 'jade'
 less = require 'less'
 WebSocketServer = require('ws').Server
+http = require 'http'
+send = require 'send'
+url = require 'url'
 
 # Underscore template settings
 _.templateSettings =


restartServer = _.debounce startServer, 1000, true

# Print an error and exit.
fatalError = (message) ->
  logging.error message + '\n'

    .replace(cjsRequireRegex, (match, dep) -> deps.push(dep) if dep not in deps)
  deps

module.exports = {setEnv, buildAliases, compileDir, watchDir, startAndWatchServer, startDummyServer}
