Fork me on GitHub
#boot
<
2017-06-27
>
shdzzl03:06:42

I have a directory of source files (input only) that I want to copy directly to the target directory (ie. make them resources or assets in the fileset). What's the best way to do this?

minikomi04:06:33

What’s good practice for failing a task gracefully? Just throw an exception?

minikomi04:06:55

If that task fails, I want to stop the pipeline in an informative way

seancorfield04:06:30

@minikomi Yes, throwing an ex-info with some appropriate message and data is a reasonable way to stop the pipeline.

seancorfield04:06:54

Although a previous task can wrap a later task in the pipeline and catch exceptions and do something.

minikomi04:06:09

Cool. The other tasks depend on metadata generated by the first, and it makes no sense to continue in this case

dm307:06:20

what’s the best way to go from a dependency vector -> local repository file path in Boot?

dm307:06:19

I’ll try boot.aether/resolve-dependency-jars

donyorm09:06:29

So whenever I try and run the watch task, I get the following error No such namespace: src what would generate that?

dominicm09:06:47

donyorm: @donyorm maybe (set-env! :source-paths #{src/}) instead of (set-env! :source-paths #{"src/"})

donyorm10:06:49

right, I'm coding a template and one of the substutions didn't generate quotes

donyorm16:06:36

Are there any tutorials on getting figwheel to work with boot?

donyorm16:06:49

richiardiandrea: how would I connect that to a different web server? Say I ran an immuntant server with boot, what do I need to do to get figreload to connect to it?

richiardiandrea16:06:07

uhm, it is serving your resources on some port so just makes sure the endpoint is set correctly and that you build the js files using the boot pipeline

donyorm15:06:20

Ah, having read more about figwheel I understand better how it works. I thought there was some sort of client/server interaction