mirror of
https://github.com/penpot/penpot.git
synced 2026-07-25 07:28:22 +00:00
🐛 Move to runtime the repl reploading config
This commit is contained in:
parent
b1ccb252fd
commit
4c222c469a
@ -49,10 +49,6 @@
|
||||
[promesa.exec :as px])
|
||||
(:gen-class))
|
||||
|
||||
(repl/disable-reload! (find-ns 'integrant.core))
|
||||
(repl/disable-reload! (find-ns 'app.system))
|
||||
(repl/disable-reload! (find-ns 'app.common.debug))
|
||||
|
||||
(def default-metrics
|
||||
{:update-file-changes
|
||||
{::mdef/name "penpot_rpc_update_file_changes_total"
|
||||
@ -685,6 +681,13 @@
|
||||
(defn -main
|
||||
[& _args]
|
||||
(try
|
||||
(try
|
||||
(repl/disable-reload! (find-ns 'integrant.core))
|
||||
(repl/disable-reload! (find-ns 'app.system))
|
||||
(repl/disable-reload! (find-ns 'app.common.debug))
|
||||
(catch Throwable cause
|
||||
(ex/print-throwable cause)))
|
||||
|
||||
(let [p (promise)]
|
||||
(start)
|
||||
(deref p))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user