Re: [ClojureScript] Re: Question about code-splitting and loading of dependent modules.

2019-02-04 Thread Khalid Jebbari
Indeed, I had forgotten to call set-loaded! for the components splits. I feel stupid... Thanks for the help ! On Mon, Feb 4, 2019, 2:17 PM Thomas Heller To me that still sounds like you are missing a (cljs.loader/set-loaded! > :components1) call in my-app.components.common.components1. Each

[ClojureScript] Re: SSL Websocket REPL connection closes spontaneously

2019-02-04 Thread Rob Nikander
Thanks. I couldn't get `websocket_*` settings to work (I guess I need to recompile nginx), but `proxy_*` settings, also mentioned on that page, appear to be working. On Monday, February 4, 2019 at 3:00:56 AM UTC-6, Phill Wolf wrote: > > Don't know. What about websocket_connect_timeout ##;

[ClojureScript] Re: Question about code-splitting and loading of dependent modules.

2019-02-04 Thread Thomas Heller
To me that still sounds like you are missing a (cljs.loader/set-loaded! :components1) call in my-app.components.common.components1. Each module must call set-loaded! at some point. In shadow-cljs this is taken care of automatically but CLJS otherwise requires that you do this manually. If you

[ClojureScript] Re: Question about code-splitting and loading of dependent modules.

2019-02-04 Thread Khalid Jebbari
I realize it's much better if I give the complete configuration. latest ClojureScript stable 1.10.516 deps.edn alias: {:cljs {:main-opts ["-m" "cljs.main" "-co" "cljs-dev.edn" "--compile"]}} cljs-dev.edn file: {:main "my-app.core" :parallel-build true :optimizations :simple

[ClojureScript] Re: SSL Websocket REPL connection closes spontaneously

2019-02-04 Thread Phill Wolf
Don't know. What about websocket_connect_timeout ##; etc? https://stackoverflow.com/questions/10550558/nginx-tcp-websockets-timeout-keepalive-config -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are