This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-24
Channels
- # arachne (3)
- # beginners (39)
- # boot (3)
- # cider (91)
- # cljs-dev (56)
- # cljsrn (4)
- # clojure (267)
- # clojure-dusseldorf (1)
- # clojure-estonia (1)
- # clojure-greece (2)
- # clojure-italy (6)
- # clojure-nl (2)
- # clojure-russia (18)
- # clojure-spec (27)
- # clojure-uk (136)
- # clojurescript (19)
- # core-async (2)
- # cursive (6)
- # datomic (17)
- # emacs (2)
- # fulcro (86)
- # graphql (4)
- # hoplon (13)
- # jobs-discuss (7)
- # jobs-rus (1)
- # keechma (34)
- # keyboards (7)
- # leiningen (5)
- # luminus (4)
- # lumo (8)
- # off-topic (13)
- # om (6)
- # onyx (26)
- # re-frame (22)
- # reagent (1)
- # reitit (2)
- # remote-jobs (8)
- # ring (3)
- # ring-swagger (5)
- # rum (8)
- # shadow-cljs (45)
- # specter (6)
- # unrepl (16)
- # yada (15)
@thheller Not sure how far you are on the HUD, but I noticed that macro errors don’t show in the HUD (only at the CLI). It would also be nice to see the hot reload as an indicator like figwheel does as well…lets you know when you should expect a UI change. Sometimes you don’t know if you failed to make the change correctly, or if the thing is still compiling. A little more browser feedback would be really helpful. The compiler feels a lot more solid, but those little feedback bits really hurt the real-time experience for me (I have to leave a console open instead, which takes valuable screen space). As far as how the HUD looks: I think it’s fine. Yeah, it’s not as pretty as figwheel, but it’s just as useful (if macro errors showed up as well)
haha i like the kapow suggestion
[email protected]
has experimental support for deps.edn
. requires a very recent version and still has a couple problems but sort of works.
i’ve started seeing things happening locally like this:
[2018-01-24 13:55:44 - WARNING] TCP Port 9630 in use.
[2018-01-24 13:55:44 - WARNING] TCP Port 9631 in use.
[2018-01-24 13:55:44 - WARNING] TCP Port 9632 in use.
[2018-01-24 13:55:44 - WARNING] TCP Port 9633 in use.
[2018-01-24 13:55:53 - WARNING] :shadow.cljs.devtools.server.dev-http/start-error resources/public 8700 #error {
:cause Address already in use
:via
[{:type java.lang.RuntimeException
:message java.net.BindException: Address already in use
:at [io.undertow.Undertow start Undertow.java 214]}
{:type java.net.BindException
:message Address already in use
:at [ bind0 Net.java -2]}]
just now I went into Activity Monitor and force quitting all the main
processes seemed to work
it looks like one of the same issues we had on circle:
> shadow-cljs start; shadow-cljs clj-run web3.build.build/reset-asset-paths;shadow-cljs watch browser;
shadow-cljs - config: /Users/MattPro/Documents/sites2017/web3/shadow-cljs.edn version: 2.0.142
shadow-cljs - server starting ..................................................................................... ready!
shadow-cljs - config: /Users/MattPro/Documents/sites2017/web3/shadow-cljs.edn version: 2.0.142
shadow-cljs - connected to server
shadow-cljs - socket connect failed, server process dead?
deleted pid file, please retry command to start new server
a command like shadow-cljs start; shadow-cljs clj-run _SOMETHING_; shadow-cljs watch browser
seems to be problematic
$ shadow-cljs start; shadow-cljs clj-run test.foo/bar; shadow-cljs watch npm
shadow-cljs - config: /Users/zilence/code/tmp/cljs-bg/shadow-cljs.edn version: 2.0.143
shadow-cljs - server starting ........................................... ready!
shadow-cljs - config: /Users/zilence/code/tmp/cljs-bg/shadow-cljs.edn version: 2.0.143
shadow-cljs - connected to server
:bar
shadow-cljs - config: /Users/zilence/code/tmp/cljs-bg/shadow-cljs.edn version: 2.0.143
shadow-cljs - connected to server
shadow-cljs - watching build :npm
[:npm] Configuring build.
[:npm] Compiling ...
no idea why the added curl
fixes it and why that says App not ready
. start
should only return once the cli-repl.port
exists which is written AFTER all the servers were started.
https://circleci.com/gh/thheller/shadow-cljs/101 without curl but still sleep 1
after start
. I give up figuring out why this is required.
@tony.kay just watched a bit of your fulcro workflow vid and couldn’t help but notice a lot of dead UI in intellij where figwheel is running. if you were to run shadow-cljs watch build
in IntelliJ Terminal
(or from REPL) in that place instead you’d get warnings there.
@mhuebert the only thing I can think of for your process issue is that something wipes out the target/shadow-cljs
directory so you keep starting new instances since the old port info is gone. do you run lein clean
or similar things by any chance?
npx shadow-cljs start; npx shadow-cljs stop;
=> always adds a new process, doesn’t kill the last one