This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-30
Channels
- # aleph (1)
- # announcements (7)
- # aws (4)
- # beginners (52)
- # calva (11)
- # cider (20)
- # clj-kondo (36)
- # clojure (53)
- # clojure-austin (1)
- # clojure-brasil (1)
- # clojure-conj (1)
- # clojure-europe (27)
- # clojure-italy (17)
- # clojure-nl (11)
- # clojure-norway (2)
- # clojure-spec (41)
- # clojure-uk (39)
- # clojuredesign-podcast (2)
- # clojurescript (22)
- # clojutre (14)
- # community-development (24)
- # cursive (6)
- # data-science (1)
- # datomic (38)
- # duct (3)
- # figwheel-main (8)
- # fulcro (34)
- # funcool (8)
- # jackdaw (3)
- # jobs (2)
- # off-topic (84)
- # pathom (3)
- # re-frame (4)
- # shadow-cljs (8)
- # tools-deps (5)
- # vim (7)
hello, whats wrong with this?
cljs.user=> (+ (bigint 1) 2N)
WARNING: Use of undeclared Var cljs.user/bigint at line 1 <cljs repl>
cljs.user=> js/bigint
ReferenceError: bigint is not defined
if js/BigInt is not defined, then your execution environment does not supports the BigInt
@papachan, You can find it in js
namespace
, because the namespace is synthetic and gives you a direct mapping to Runtime environment
.
Hello everyone. I'm currently trying to integrate sass compilation into an existing shadow-cljs build pipeline. I'd like the browser to reload when the css is updated, but when I use the watch-dir command, I don't see a browser reload. If I manually hit the browser reload button, I see the update, but the watch-dir command seems to be ignoring it. Am I missing anything?
:main {:target :browser
:asset-path "/js/main"
:modules {:main {:entries [demo.client]}}
:devtools {:watch-dir "resources/public/styles"
:after-load demo.client/restart
:preloads [fulcro.inspect.preload demo.development-preload]}}
@ssanders are you using the built-in HTTP server for shadow-cljs? or serving the files using some other way while developing?
I'm just realizing this should have gone in the shadow-cljs channel. Apologies for that. But now I'm assuming the watch-dir command only works if using the built in http server