Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/main/shadow/cljs/devtools/api.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -690,4 +695,4 @@
(swap! results-ref update :out str text))
})

@results-ref)))
Comment on lines 697 to -693
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't delete this on purpose. I think it was the GitHub code “editor” that did it.

@results-ref)))