This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-16
Channels
- # alda (1)
- # aws-lambda (1)
- # bangalore-clj (1)
- # beginners (70)
- # boot (24)
- # cider (1)
- # cljs-dev (167)
- # cljsjs (8)
- # cljsrn (17)
- # clojure (224)
- # clojure-android (7)
- # clojure-austin (8)
- # clojure-russia (17)
- # clojure-spec (120)
- # clojure-uk (46)
- # clojurescript (68)
- # community-development (198)
- # conf-proposals (1)
- # core-async (7)
- # cursive (6)
- # datomic (27)
- # dirac (19)
- # events (9)
- # hoplon (2)
- # jobs (1)
- # luminus (9)
- # off-topic (1)
- # om (281)
- # om-next (5)
- # onyx (50)
- # pedestal (1)
- # re-frame (19)
- # reagent (11)
- # ring-swagger (14)
- # slack-help (2)
- # spacemacs (1)
- # untangled (72)
- # yada (30)
hello folks - i am investigating a boot issue here why our reload procedure is triggered twice when one file has changed.
would like to output the configurations set through task-options!
to check if anything is wrong
@michael.heuberger you can add -v
or :verbose true
to the watch
task options
stupid noob question. I’m just getting set up, and it looks like when I run boot repl
, I’m in the boot context. How do I get a repl in my project context?
@arohner you mean another namespace or with your files on the classpath so that you can require them?
for Clojure version do boot -V > boot.properties
and then customize that file
For your stuff on the classpath you need to have some set-env!
calls in your build.boot
that define :source-paths
or :resource-paths
alternatively you can do boot -s src repl
which will put the contents of src/
onto the classpath
ok, I have a build.boot with (set-env :dependencies []), but I was confused by the clojure version
@arohner clojure version is handled differently. Because Boot uses Clojure before it ever sees that set-env!
call you need to pin it outside of your build.boot
— using boot.properties
this file is read at startup by the minimal boot shim and will determine the very basic properties of your boot environment
e.g. you can also use it to customize the version of boot being used etc.
Without the pinning described above you might end up with two versions of Clojure being loaded. Let me know if that explanation makes sense.