This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-04
Channels
- # aleph (4)
- # bangalore-clj (1)
- # beginners (89)
- # boot (16)
- # braveandtrue (4)
- # cider (1)
- # cljs-dev (6)
- # cljsrn (90)
- # clojure (132)
- # clojure-austin (1)
- # clojure-dusseldorf (4)
- # clojure-italy (12)
- # clojure-portugal (2)
- # clojure-spec (13)
- # clojure-uk (41)
- # clojurescript (142)
- # code-reviews (19)
- # conf-proposals (1)
- # datascript (6)
- # datomic (7)
- # graphql (12)
- # jobs-discuss (3)
- # keechma (23)
- # leiningen (3)
- # lumo (22)
- # off-topic (7)
- # om (21)
- # onyx (8)
- # parinfer (46)
- # pedestal (3)
- # perun (3)
- # re-frame (10)
- # reagent (30)
- # ring (1)
- # rum (2)
- # spacemacs (1)
- # sql (2)
- # testing (17)
- # yada (32)
as a result of scripting / timeouts, there is a boot task that may or may not be alive. is there a way o say "if there's no 'boot foo' runnin, run 'boot foo', if there is one already running, kill it, and then run 'boot foo'" ?
@qqq can you achieve this simply with an atom that tracks the running state of the foo
task ? Just saying, not sure it's good/reliable.
@qqq sounds like you might use some shell magic for that
@qqq yep I am not aware of that feature, grep should work fine
I'm having an issue running my tests with cider. They run fine the first time, but afterwards they simply say give me an error: Alias g already exists in namespace oss-world.gui-test, aliasing oss-world.gui
? What's the best way to fix this (running them in Emacs with cider, but through the boot repl I would guess)
Actually testing is working fine, I some how added a require that required its own namespace, which was causing the problem. Oops 😕
hey all i’m a little confused on how to properly align the configs so I can use a .cljs.edn
file?
the example given here: https://github.com/Deraen/saapas/blob/master/build.boot doesn’t seem to utilize the :require
or :init-fns
defined here: https://github.com/boot-clj/boot-cljs/wiki/Usage#multiple-builds . When you specify a :compiler-options {:main my.init.ns}}
boot will warn you that the main namespace is being overridden. How, then, is one supposed to configure the .cljs.edn
file to work with boot?
@lwhorton Do you have Boot-cljs 2.1? Support for :main
was added in the latest release
.cljs.edn :require
and :init-fns
are from time before Cljs :main
and :preloads
, and I only at the latest release got around to supporting the new options without breaking old configurations