Fork me on GitHub
#figwheel-main
<
2020-02-28
>
andrea.crotti12:02:05

ah interesting about that strange problem, the same project definitively runs on my linux machine after a lein clean, and I can even connect remotely from the mac to Linux, so definitively something broken in the mac strangely :face_vomiting:

andrea.crotti12:02:11

ok well probably nothing to do with figwheel then anyway

achikin15:02:49

Is it possible to define :before-load and :after-load hooks in configuration file?

achikin15:02:13

I don’t want to pollute the source code with tool-related metadata

achikin15:02:33

I’m also confused with launch-node and node-command settings. I can’t track their usages in the source code and don’t completely understand what they do.

achikin15:02:13

Ah, I see - it’s in a separate project…

achikin16:02:47

repl.cljc?rel=1582907261370:608 Uncaught TypeError: Cannot read property 'setLevel' of null
    at figwheel$repl$set_log_level (repl.cljc?rel=1582907261370:608)
    at figwheel$repl$init_log_level_BANG_ (repl.cljc?rel=1582907261370:617)
    at figwheel$repl$connect_STAR_ (repl.cljc?rel=1582907261370:620)
    at repl.cljc?rel=1582907261370:629
    at Function.cljs$core$IFn$_invoke$arity$variadic (repl.cljc?rel=1582907261370:629)
    at figwheel$repl$connect (repl.cljc?rel=1582907261370:627)
    at preload.cljs?rel=1582907261426:5
figwheel$repl$set_log_level @ repl.cljc?rel=1582907261370:608
figwheel$repl$init_log_level_BANG_ @ repl.cljc?rel=1582907261370:617
figwheel$repl$connect_STAR_ @ repl.cljc?rel=1582907261370:620
(anonymous) @ repl.cljc?rel=1582907261370:629
(anonymous) @ repl.cljc?rel=1582907261370:629
figwheel$repl$connect @ repl.cljc?rel=1582907261370:627
(anonymous) @ preload.cljs?rel=1582907261426:5
load (async)
(anonymous) @ preload.cljs?rel=1582907261426:5

achikin16:02:53

I got such a stack trace

achikin17:02:41

I’ve filed an issue with furter explanations https://github.com/bhauman/figwheel-main/issues/237

achikin17:02:09

Short story: setting goog.DEBUG to false crashes figwheel-main