Fork me on GitHub
#boot
<
2017-10-31
>
yury.solovyov09:10:30

How do I make boot task return control to the terminal and continue to work? like boot foo start/stop. or the expectation is that I'll need to compile it and run via java? same question then

yury.solovyov09:10:18

are people just use unix stuff like nohup or screen?

donaldball13:10:49

I think most would use the standard shell tools to do that, but you could look to jsvc to daemonize a process. I’m not aware of any boot integration with it, though that might be a pretty cool option.

qqq13:10:25

@yury.solovyov: I just use tmux / multiple terminals -- I actually find the boot output to be helpful (compilation errors / warnings, printlns, etc ...)

zane14:10:53

Hmm. Now getting this when I try to run my usual boot workflow:

clojure.lang.ExceptionInfo: java.lang.NoClassDefFoundError: clojure/lang/IFn, compiling:(org/httpkit/server.clj:23:11)
Look familiar to anyone?

dave14:10:35

that sounds like org.clojure/clojure is not included in your application's dependencies

zane15:10:24

Clojure was included.

zane15:10:36

Turns out this was the result of me having an outdated boot.

zane15:10:00

I thought I had upgraded with boot -u, but I forgot to change the boot.properties file.

borkdude14:10:30

What’s the idiomatic way to return a non-zero exit code from a boot task? Throw an exception?

flyboarder15:10:36

you can also use boot.util/fail to show a failure message, however that will still finish with 0

flyboarder15:10:54

usually I do both

richiardiandrea16:10:12

I throw too usually

seancorfield16:10:07

The next version of Boot should suppress the stacktrace in more cases if you specify :boot.util/omit-stacktrace? true in a (throw (ex-info ...)) call.

seancorfield16:10:23

So throwing an exception will be much more palatable.

vinnyataide17:10:11

Hello, does anybody has worked with fulcro? I'm having problems with the refresh fn

vinnyataide17:10:28

it isn't sending the ui/react-key to props