This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-25
Channels
- # announcements (6)
- # babashka (53)
- # beginners (199)
- # calva (101)
- # cider (8)
- # clara (17)
- # cljs-dev (1)
- # clojure (86)
- # clojure-australia (1)
- # clojure-dev (33)
- # clojure-europe (29)
- # clojure-france (13)
- # clojure-nl (6)
- # clojure-norway (7)
- # clojure-poland (3)
- # clojure-spec (2)
- # clojure-uk (9)
- # clojurescript (18)
- # community-development (2)
- # cursive (2)
- # datomic (8)
- # duct (43)
- # emacs (9)
- # events (6)
- # figwheel-main (1)
- # fulcro (7)
- # integrant (1)
- # jobs (1)
- # jobs-rus (1)
- # lambdaisland (1)
- # malli (19)
- # nrepl (2)
- # off-topic (31)
- # pathom (35)
- # quil (1)
- # reagent (4)
- # remote-jobs (7)
- # schema (1)
- # shadow-cljs (58)
- # spacemacs (6)
- # startup-in-a-month (12)
- # tools-deps (10)
- # xtdb (40)
@ajsnow2012 there is no such thing as deploying a "shadow app as a jar". the output shadow-cljs produces is javascript which no presumption about which server you are going to use. shadow-cljs itself is never part of the server and shouldn't be. its job is just building the output and staying out of your production environment completely.
so anything that is capable of serving static files is fine. I don't know heroku but I'd assume there is something to do that
I personally just build stuff locally and then copy the output to a static webserver
of course if you need anything server-side you can do that as well but shadow-cljs doesn't handle those parts. I use lein for that.
some of my coworkers got a delay on compiling since from saturday
and now when he tries to open the application, it never loads, only in incognito mode
anyone here had some issue like this?
I don't understand why he is having this issue
he deleted npm_modules/, .shadow-cljs/
and installed it again
but it not worked
any thoughts on debugging this?
in "normal mode" he is having a 304
and in "incognito mode" he is having 200
he does not have a cache in the browser
i don't know how to debug a "service worker" sorry
where?
304 is something the server sends so make sure you are using the correct server. it is not something the client can produce without a service worker.
no, only loads eternally
strange that is happening for him and for another coworker but not with me
incognito goes well
he cleared the browser and the cache and everything and it went well
2.11.14 => shadow-cljs
sorry to mess it but thanks anyway @thheller
Having trouble configuring a custom dev-http host. I have been using localhost:7000
so far to access my live-reloading page. I thought I might be able to better separate my different web projects (and their differing SSL requirements) by changing the default dev-http host, so I modified my shadow-cljs.edn to read:
but nothing is available at stucco:7000
. Am I misunderstanding something here? Do I need to configure something else for this to work?
:host
only does something if your machine has multiple ips so it knows which to pick but since it picks all by default that usually doesn't do anything
http://foo.lvh.me:7000/ is typically useful too