diff --git a/src/main/shadow/cljs/devtools/api.clj b/src/main/shadow/cljs/devtools/api.clj index 1fce51558..985747656 100644 --- a/src/main/shadow/cljs/devtools/api.clj +++ b/src/main/shadow/cljs/devtools/api.clj @@ -99,7 +99,12 @@ (keys) (into #{}))) -(defn get-runtime! [] +(defn get-runtime! + "NB: The runtime object is too huge to print at the REPL. + * (api/get-runtime!) ; => will blow your REPL up + * (:config (api/get-runtime!)) ; => works just fine + * (:supervisor (api/get-runtime!)) ; => also blows the REPL up" + [] (runtime/get-instance!)) (defn- get-or-start-worker [build-config opts] @@ -690,4 +695,4 @@ (swap! results-ref update :out str text)) }) - @results-ref))) \ No newline at end of file + @results-ref)))