You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a question mark because I am not sure about this.
We have a serve task serving assets on http://localhost:8000 and therefore our js (even if it is dev) is served from there. We have the following division.cljs.edn in place:
Boot-reload should load the assets from the same host and port as you have open in browser. You can use asset-host option if you need to change this.
Due to "ClojureScript could not load :main` error", it looks like your application can't load even initially. That error can't be caused by Boot-reload because Boot-reload will only do anything after Cljs app has been successfully evaluated. And boot-reload doesn't affect Clojurescript output at all.
There is a question mark because I am not sure about this.
We have a
serve
task serving assets onhttp://localhost:8000
and therefore our js (even if it isdev
) is served from there. We have the followingdivision.cljs.edn
in place:And I tried to add
:cljs-asset-path
to theboot-reload
compiler options::cljs-asset-path "http://localhost:8000"
However the result is, and maybe I am misinterpreting the option:
The only way I could make it work was by intercepting the
cljs.edn
file(s), and patching them to:I wonder though if I am doing something wrong or I can improve on this somehow (a PR is included in the list of improvements 😄).
Thanks @Deraen for your work on
boot-reload
as usual!The text was updated successfully, but these errors were encountered: