This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-31
Channels
- # aws-lambda (4)
- # beginners (152)
- # boot (19)
- # cider (45)
- # cljs-dev (14)
- # clojure (54)
- # clojure-dev (33)
- # clojure-greece (11)
- # clojure-italy (4)
- # clojure-nl (8)
- # clojure-norway (2)
- # clojure-russia (6)
- # clojure-sg (1)
- # clojure-spec (1)
- # clojure-uk (40)
- # clojure-ukraine (5)
- # clojurescript (40)
- # community-development (13)
- # component (8)
- # core-async (3)
- # cursive (25)
- # data-science (11)
- # datomic (13)
- # duct (1)
- # emacs (2)
- # events (16)
- # figwheel (3)
- # fulcro (53)
- # graphql (2)
- # jobs (5)
- # jobs-rus (1)
- # juxt (10)
- # leiningen (4)
- # off-topic (82)
- # other-languages (5)
- # portkey (3)
- # protorepl (13)
- # re-frame (22)
- # reagent (15)
- # ring-swagger (4)
- # shadow-cljs (69)
- # spacemacs (7)
- # specter (16)
- # sql (13)
- # vim (5)
- # yada (2)
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
are people just use unix stuff like nohup or screen?
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.
@yury.solovyov: I just use tmux / multiple terminals -- I actually find the boot output to be helpful (compilation errors / warnings, printlns, etc ...)
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?What’s the idiomatic way to return a non-zero exit code from a boot task? Throw an exception?
you can also use boot.util/fail
to show a failure message, however that will still finish with 0
usually I do both
I throw too usually
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.
So throwing an exception will be much more palatable.
Hello, does anybody has worked with fulcro? I'm having problems with the refresh fn
it isn't sending the ui/react-key to props