boot

:boot-clj: https://boot-clj.github.io/ — build tooling for Clojure. Dev chat in #boot-dev
upgradingdave 2018-08-14T15:34:33.000100Z

Hi all, (hopefully quick) question: when I use boot-reload along with the boot serve task to serve static site, reload works fine (it reloads my compiled cljs files from /public/static/js/dev.out).

upgradingdave 2018-08-14T15:35:55.000100Z

but if I change boot serve to serve a ring handler, and the ring handler routes /public/static/js to http://localhost:3000/js, then when boot-reload tries to load from http://localhost:3000/public/static/js, the reload no longer works

upgradingdave 2018-08-14T15:36:49.000100Z

is there a way to tell boot-reload to serve from the handler route (/js) instead of the full relative path to the compiled js (/public/static/js)?

upgradingdave 2018-08-14T15:52:41.000100Z

ah ha, nevermind, figured it out 😎

upgradingdave 2018-08-14T15:53:12.000200Z

(reload :asset-path "/public/static")

upgradingdave 2018-08-14T15:54:45.000100Z

that threw me off because :asset-path in the *.edn.cljs files has a different meaning