Fork me on GitHub
#lein-figwheel
<
2018-06-01
>
richiardiandrea17:06:58

Hello folks, just a quick feedback on figwheel.main

richiardiandrea17:06:13

I am trying it against my replumb and clojure -A:dev -m figwheel.main -b dev -r

richiardiandrea17:06:08

the only small glitch was that I was trying clojure -A:dev -m figwheel.main -co dev.cljs.edn -r before, which should be equivalent...but it is not

richiardiandrea17:06:21

becuase -co does not seem to take the main into consideration

richiardiandrea17:06:42

clojure -A:dev -m figwheel.main -co dev.cljs.edn -c replumb.core -r is what works

richiardiandrea17:06:53

probably an upstream issue though

bhauman17:06:00

@richiardiandrea yeah actually -co and other opts are only for compile,build

bhauman17:06:17

is that a mistake in my readme?

bhauman17:06:38

I'm adding cli validation for that right now

richiardiandrea17:06:46

trying exactly the readme command now and i will tell you

richiardiandrea17:06:52

confirm that these two work:

clojure -A:dev -m figwheel.main  -co dev.cljs.edn -c replumb-repl.core -r
clojure -A:dev -m figwheel.mainb dev -r
this one does not:
clojure -A:dev -m figwheel.main -co dev.cljs.edn -r

bhauman17:06:33

yeah that make sense, thanks so much

richiardiandrea17:06:51

np good job btw very smooth

bhauman17:06:53

also there is a #figwheel-main

bhauman17:06:16

I'm trying to validate the command line args to take away the guesswork

bhauman17:06:48

so a bad command will fail early

👍 4
richiardiandrea17:06:59

should be in core 😉

bhauman17:06:02

and tell you why

bhauman17:06:14

hard to argue with that

cljs 4