This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-08
Channels
- # admin-announcements (22)
- # beginners (28)
- # boot (8)
- # cider (9)
- # cljs-dev (1)
- # cljs-site (3)
- # cljsjs (6)
- # cljsrn (6)
- # clojure (20)
- # clojure-germany (3)
- # clojure-russia (16)
- # clojure-uk (6)
- # clojurescript (106)
- # datascript (9)
- # datomic (19)
- # devcards (4)
- # dirac (42)
- # docker (4)
- # emacs (3)
- # hoplon (89)
- # jobs-rus (1)
- # keechma (6)
- # lein-figwheel (1)
- # leiningen (1)
- # luminus (11)
- # off-topic (1)
- # om (1)
- # om-next (1)
- # onyx (19)
- # other-languages (37)
- # parinfer (1)
- # proton (1)
- # reagent (9)
- # rethinkdb (17)
- # rum (2)
hi guys, how do I load some initial file when starting boot repl? I mean something similar when lein repl, automatically loads user.clj for you.
@zilvinask: try (load "myfile.clj")
user
namespace is loaded by nrepl client and it works the same with boot
try putting some println etc. in user.clj and you should see that it is loaded
But boot repl by default opens in boot.user
namespace instead in user
ns. You can call functions from user
ns by fully qualifying the calls: (user/foo)
.
boot.user
ns is the same as your build.boot
file so you can just add code there also
@juhoteperi: thanks!