     # Throw error if exists and not empty
     if fs.existsSync(resolved)
       if fs.readdirSync(resolved).length
-        console.error "Confict: #{resolved} exists and is not empty"
+        log.error "enfield", "Confict: #{resolved} exists and is not empty"
         process.exit -1
       else
         # Remove it so we can bulk copy

      when 'help'
        exports.help()
      else
        console.error "Invalid command. Use --help for more information"
        process.exit -1

  new: (dir) ->
    unless dir
      console.error "Must specify a path"
      process.exit -1

    resolved = path.resolve dir

    # Watching happens within the build command
    exports.build config, (err) ->
      if err
        log.error "enfield", Could not generate site: #{err.message}"
        process.exit -1

      fileServer = new(node_static.Server) config.destination
      server = require('http').createServer (request, response) ->
        log.http "server", "[#{timestamp()}] #{request.method} #{request.url}"
        fileServer.serve request, response

      log.info "enfield", "Running server at http://#{config.host}:#{config.port}"
      server.listen config.port, config.host

  version: ->
