(ns leiningen.ring.server-headless
  (:use leiningen.ring.server))

(defn server-headless
  "Start a Ring server without opening a browser."
  ([project]
     (server-task project {:headless? true}))
  ([project port]
     (server-task project {:port (Integer. port), :headless? true})))

(ns leiningen.ring.server-headless
  (:use leiningen.ring.server))

(defn server-headless
  "Start a Ring server without opening a browser."
  ([project]
     (server-task project {:open-browser? false}))
  ([project port]
     (server-task project {:port (Integer. port), :open-browser? false})))

Change to use new open-browser? key from ring-server library
Change to use new open-browser? key from ring-server library

MichaelBlume/lein-ring