Fork me on GitHub
#boot
<
2017-12-10
>
fmind14:12:26

Hello, I have a question on using watch and wait tasks on a boot pipeline

fmind14:12:04

if I understand, you cannot start a repl client if you use these tasks ?

fmind14:12:43

the watch trigger is blocked as long as the client repl is running

fmind14:12:37

like in this example, the pipeline will not work for a repl client: https://github.com/danielsz/system/blob/master/examples/boot/build.boot

dominicm14:12:32

@fmind Your understanding is correct.

fmind14:12:25

if there a way to "alternate" the watch and repl client task in the same pipeline ?

fmind14:12:56

otherwise, the best option I have would be to use a future, and manage the watch task in the background

dominicm14:12:33

I think there is a trick where you do boot repl and then you do (future (boot (dev)))

fmind15:12:01

thank, I'l try that