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
I've seen a few issues related to this but wanted to explain the problem again, with the hope of finding an elegant solution.
Consider this common scenario:
clojure (ring?) serves /public from java resources. E.g. /public/css/style.css is served at /css/style.css. The idea is that all public assets are located in a single resource directory.
you want to expose files to the public if, and only if, they're in /public
your boot-cljs configuration is located at public/js/app.cljs.edn
In this scenario, boot-reload tries to load /public/js/app.js, but the files is actually (and properly) served as /js/app.js. If I understand the code, :cljs-asset-path doesn't work here because it will only prepend a string to the path, not change it.
Is my assumption correct that boot-reload doesn't cover this scenario? If so, what would be required to add support?
The text was updated successfully, but these errors were encountered:
I've seen a few issues related to this but wanted to explain the problem again, with the hope of finding an elegant solution.
Consider this common scenario:
/public
from java resources. E.g./public/css/style.css
is served at/css/style.css
. The idea is that all public assets are located in a single resource directory./public
public/js/app.cljs.edn
In this scenario, boot-reload tries to load
/public/js/app.js
, but the files is actually (and properly) served as/js/app.js
. If I understand the code,:cljs-asset-path
doesn't work here because it will only prepend a string to the path, not change it.Is my assumption correct that boot-reload doesn't cover this scenario? If so, what would be required to add support?
The text was updated successfully, but these errors were encountered: