This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-25
Channels
- # aleph (2)
- # aws (2)
- # beginners (37)
- # boot (23)
- # cider (29)
- # clara (34)
- # cljs-dev (2)
- # cljsrn (17)
- # clojure (230)
- # clojure-dev (47)
- # clojure-italy (11)
- # clojure-nl (2)
- # clojure-poland (5)
- # clojure-russia (52)
- # clojure-sg (1)
- # clojure-spec (70)
- # clojure-uk (73)
- # clojurescript (31)
- # core-async (9)
- # cursive (15)
- # datomic (39)
- # events (1)
- # graphql (1)
- # lein-figwheel (2)
- # luminus (13)
- # off-topic (2)
- # onyx (29)
- # other-lisps (1)
- # parinfer (15)
- # pedestal (14)
- # re-frame (41)
- # reagent (24)
- # ring (4)
- # ring-swagger (12)
- # rum (1)
- # spacemacs (3)
- # specter (1)
- # test-check (13)
- # timbre (9)
- # unrepl (29)
- # vim (5)
Do I have to specify a version for every dependencies? Is it possible to express certain version and up?
Using them makes dep resolution non-deterministic which is why people tend to avoid
Thanks No Java background here... so the version format is from Maven, that's the reason I didn't find any boot doc talking about this
I agree, it's not a good idea to have version range in projects I'm adding some tool task into profile.boot, like boot-new
No problem. Feel free to add to wiki in the place you expected to find 😀
And yeah, that makes sense
so the refresh task seems to be randomly failing. Certain namespaces simply stop updating, even if I add a whole new symbol. Running (boot (refresh))
shows that the namespaces are being updated, but the boot repl still has the old values. Is this a known issue?
Heard of something similar if you refresh really quickly without a debounce, e.g. Automatically in file write.
samestep.boot-refresh
, the one suggested by the boot wiki. How should I fix the issue?
Is there anyway to run a watch task "in the background" from a boot repl? I've started a repl and I wanted to start a file watcher but in the same jvm as the repl
@donyorm I assume you don't want to use watch
, so what you can do is to run whatever task (even the repl) in a future
so that you "free up" the main thread and can launch a second pipeline. Alternatively boot.parallel
provides a way to launch tasks in parallel
right, that works well. I wasn't think of using boot tasks as code. I did want to use watch, I just needed to stick it in a future. Thanks!
Is there anyway to make the watch task run arbitrary code as opposed to another task?
@donyorm wrap it in a task
(with-pass-thru _
(run-things))
for this task https://github.com/boot-clj/boot/wiki/Using-Boot-in-a-Leiningen-Project would it be the same if you wrapped the body in the with-pass-thru
instead of returning the identity
fn?
now that we have https://github.com/clojure/tools.deps.alpha we should port boot's better reporting I guess 😉
@richiardiandrea what are you referring to with boot’s better reporting?
I mean that boot
has a very nice way of reporting dep download (on -v
or -vv
)...
ah! 🙂