This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-11
Channels
- # aleph (1)
- # architecture (18)
- # beginners (57)
- # boot (13)
- # cider (47)
- # cljs-dev (28)
- # cljsjs (13)
- # cljsrn (39)
- # clojure (258)
- # clojure-greece (16)
- # clojure-italy (2)
- # clojure-miami (1)
- # clojure-nl (9)
- # clojure-poland (15)
- # clojure-russia (369)
- # clojure-spec (53)
- # clojure-uk (49)
- # clojureremote (3)
- # clojurescript (135)
- # core-matrix (1)
- # cursive (11)
- # datascript (3)
- # datomic (4)
- # emacs (12)
- # figwheel (13)
- # hoplon (7)
- # interop (7)
- # jobs-discuss (33)
- # lumo (28)
- # off-topic (15)
- # om (7)
- # onyx (26)
- # pedestal (10)
- # perun (1)
- # planck (10)
- # re-frame (54)
- # reagent (16)
- # ring (5)
- # ring-swagger (50)
- # rum (2)
- # spacemacs (2)
- # unrepl (125)
- # untangled (12)
That totally fixed it, thank you! It's too bad that error passed silently rather than getting caught and logged by boot-reload somewhere
(anyone know if that'd be a new-contributor-friendly change? if so I'd be happy to give it a shot)
@jab so the issue here is that (reload (:on-jsload 'some/sym))
is the same as saying (reload nil)
and that doesn't throw an error.
but should it throw? what would be the error message?
i've dig down to the root of the issue and it's this line:
https://github.com/boot-clj/boot/blob/master/boot/core/src/boot/cli.clj#L168
nil
s are simply swallowed.
i looked into the tests, but they don't explain why:
• https://github.com/boot-clj/boot/blob/master/boot/core/test/boot/test_test.clj
• https://github.com/boot-clj/boot/blob/master/boot/core/test/boot/task/built_in_test.clj