Fork me on GitHub
#boot
<
2020-07-20
>
borkdude16:07:21

Is it possible to add something to the classpath in boot, but not making it part of a fileset, just let it sit on the filesystem?

borkdude16:07:48

I'm trying to do a build with figwheel.main + deps.edn and combine this with our boot backend.

borkdude16:07:06

Making the output of figwheel main write into target or resources, makes boot very slow

borkdude16:07:19

@micha It might. The first thing I tried was letting the CLJS compiler write to target-js and in build.boot I added target-js to :resource-paths. What's the difference with add-classpath ?

micha16:07:26

add-classpath isn't going to reload anything

micha16:07:53

it's just adding something to the classpath with no extra fileset special treatment

micha17:07:34

it's a low level function

micha17:07:16

i guess there are a ton of files being written to target-js when you point the cljs compiler at it?

micha17:07:29

which makes things slow?

borkdude18:07:37

yes, also I got file-system related errors on macOS. the same happens sometimes while switching branches in git

borkdude18:07:17

sorry I can't be more specific, it's been a couple of months since I worked on this. I'll try to reproduce it again and also try add-classpath