boot-clj / boot-cljs

Boot task to compile ClojureScript programs.
Eclipse Public License 1.0
176 stars 40 forks source link

Default asset-path should respect .cljs.edn position #152

Closed arichiardi closed 7 years ago

arichiardi commented 7 years ago

Hi Deraen,

I was fiddling with a boot-figreload bug and noticed that when you don't explicitely specify the :asset-path option, boot-cljs calls get-name for figuring out which asset-path to use.

Unless I am doing something wrong, it should respect the position where you put the .cljs.edn file I guess.

EDIT: I have a repro here: https://github.com/arichiardi/figreload-demo/tree/boot-cljs-152

Deraen commented 7 years ago

Aha, interesting, I thought it would use getPath.

Deraen commented 7 years ago

Fixes in #156