From e00e5016053f9efdd22623546ae5b184e54c3116 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Wed, 13 Oct 2021 17:39:03 +0200 Subject: [PATCH] :sparkles: Fix nrepl connection inside docker --- .gitignore | 4 +++- frontend/deps.edn | 3 ++- frontend/shadow-cljs.edn | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d1cc5a7af..aaa692e77 100644 --- a/.gitignore +++ b/.gitignore @@ -38,4 +38,6 @@ node_modules /deploy /web /_dump -/vendor/svgclean/bundle*.js \ No newline at end of file +/vendor/svgclean/bundle*.js + +.calva diff --git a/frontend/deps.edn b/frontend/deps.edn index bbde0ad0b..b878e722f 100644 --- a/frontend/deps.edn +++ b/frontend/deps.edn @@ -23,7 +23,8 @@ :dev {:extra-deps - {thheller/shadow-cljs {:mvn/version "2.15.9"}}} + {thheller/shadow-cljs {:mvn/version "2.15.9"} + cider/cider-nrepl {:mvn/version "0.26.0"}}} :shadow-cljs {:main-opts ["-m" "shadow.cljs.devtools.cli"]} diff --git a/frontend/shadow-cljs.edn b/frontend/shadow-cljs.edn index 1d9527552..49f4df2cf 100644 --- a/frontend/shadow-cljs.edn +++ b/frontend/shadow-cljs.edn @@ -1,6 +1,6 @@ {:deps {:aliases [:dev]} :http {:port 3448} - :nrepl {:port 3447} + :nrepl {:port 3447 :host "0.0.0.0"} :jvm-opts ["-Xmx700m" "-Xms100m" "-XX:+UseSerialGC" "-XX:-OmitStackTraceInFastThrow"] :dev-http {8888 "classpath:public"}