cljsrn

https://github.com/drapanjanas/re-natal | https://github.com/drapanjanas/re-natal/wiki/FAQ | https://github.com/condense/mercury-app/wiki | https://github.com/seantempesta/expo-cljs-template/ https://www.npmjs.com/package/create-expo-cljs-app
yenda 2020-04-29T10:57:34.392800Z

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

yenda 2020-04-29T10:57:56.393400Z

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

Oliver George 2020-04-29T10:59:10.393700Z

Thanks for the tip

joshmiller 2020-04-29T19:07:57.395500Z

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?

joshmiller 2020-04-29T19:31:14.396500Z

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.

dnolen 2020-04-29T19:35:04.397Z

@joshmiller hrm that seems odd

dnolen 2020-04-29T19:36:10.397600Z

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

joshmiller 2020-04-29T19:36:21.398Z

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

dnolen 2020-04-29T19:36:29.398400Z

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

dnolen 2020-04-29T19:36:38.398800Z

@joshmiller -c to build

dnolen 2020-04-29T19:36:42.399Z

-r is just to start the REPL

dnolen 2020-04-29T19:37:18.399500Z

the order of the flags doesn't matter

joshmiller 2020-04-29T19:37:41.400100Z

Ahh, ok

joshmiller 2020-04-29T19:37:44.400400Z

I see what happened

dnolen 2020-04-29T19:37:51.400700Z

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

dnolen 2020-04-29T19:38:00.401200Z

otherwise your command is fine

joshmiller 2020-04-29T19:38:02.401400Z

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

dnolen 2020-04-29T19:38:03.401500Z

but -c to compile

joshmiller 2020-04-29T19:38:08.401700Z

Which doesn’t have -c

dnolen 2020-04-29T19:38:29.401900Z

right let me fix that

joshmiller 2020-04-29T19:38:42.402300Z

Cool, thanks for the help

joshmiller 2020-04-29T19:40:26.402700Z

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

dnolen 2020-04-29T19:42:03.403100Z

@joshmiller excellent README updated - thanks for the feedback

👍 1