Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Oct 29, 2024
1 parent f1f8b32 commit cd0276e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions editor.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(ns editor
{:nextjournal.clerk/visibility {:code :hide}
:nextjournal.clerk/doc-css-class [:overflow-hidden :p-0]}
(:require [nextjournal.clerk :as clerk]))

(clerk/with-viewer
{:render-fn 'nextjournal.clerk.render.editor/view
:transform-fn clerk/mark-presented}
(slurp "notebooks/rule_30.clj"))
8 changes: 8 additions & 0 deletions src/nextjournal/clerk/builder.clj
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,14 @@
"--input-type=module"
"--trace-warnings"))
{:keys [out err exit]} result]
(println "Static app Opts")
(println "---")
(prn static-app-opts)
(println "---")
(println "SSR output")
(println "---")
(println result)
(println "---")
(if (= 0 exit)
(do
(report-fn {:stage :done :duration duration})
Expand Down

0 comments on commit cd0276e

Please sign in to comment.