Fork me on GitHub
#cljsrn
<
2020-04-29
>
yenda10:04:34

with the Hermes engine on Android bundle size doesn't matter that much anymore

yenda10:04:56

but with JSCore it can be a few seconds difference at startup time on low end devices

olivergeorge10:04:10

Thanks for the tip

joshmiller19:04:57

I’m having trouble upgrading the version of Krell I’m using. When I boot up the simulator, it hangs on “Waiting for Krell to load files.” The bundler is showing “Service resolved” for 5001 and 5002, and the Krell REPL is “Waiting for device connection on port 5001.” I’ve deleted .cpcache. Anyone seen/fixed this?

joshmiller19:04:14

I tried clearing out target/ in case there was old stuff in there, and now it’s not outputting anything when it builds, so something worse is going on, I’ll keep digging.

dnolen19:04:04

@joshmiller hrm that seems odd

dnolen19:04:10

the not building thing - are you passing the -v flag?

joshmiller19:04:21

clj -m krell.main -v -co build.edn -r

dnolen19:04:29

the flag/value order slightly easy to mess this up and cljs.main doesn't validate that much

dnolen19:04:38

@joshmiller -c to build

dnolen19:04:42

-r is just to start the REPL

dnolen19:04:18

the order of the flags doesn't matter

joshmiller19:04:44

I see what happened

dnolen19:04:51

but if you accidentally write flag flag value or something like that unintentionally it can be cryptic

dnolen19:04:00

otherwise your command is fine

joshmiller19:04:02

I copied the “Starting a REPL” section from the README

dnolen19:04:03

but -c to compile

joshmiller19:04:08

Which doesn’t have -c

dnolen19:04:29

right let me fix that

joshmiller19:04:42

Cool, thanks for the help

joshmiller19:04:26

And once I’ve done all that, latest version does in fact now build/run correctly, thanks.

dnolen19:04:03

@joshmiller excellent README updated - thanks for the feedback

👍 1