     (start state config default-compile-callback))
   ([state config callback]
    (let [repl-input (async/chan)
-         repl-output (async/chan)
+         repl-output (async/chan (async/sliding-buffer 10))
 
          state (-> {:compiler-state state
                     :clients {}


         state (assoc state :compiler-state (callback (:compiler-state state) []))
         server-control (get-in state [:server :server-control])
         server-loop
         (go (loop [state state]
               (alt!
                 server-control
                 ([v]
                   (when-not (nil? v)

            [org.httpkit.server :as hk]
            [cljs.compiler :as comp]
            [clojure.edn :as edn]
            [clojure.core.async :as async :refer (go <! >! <!! >!! alt! timeout thread alt!!)]
            [shadow.cljs.repl :as repl]
            [clojure.string :as str]
            [cljs.stacktrace :as st]
