Fork me on GitHub
#lein-figwheel
<
2015-11-23
>
bhauman15:11:16

awesome!! yeah early on someone was doing work on a chrome extension so we made it work simple_smile

bhauman16:11:28

I just tweeted out that png, super fun

darwin16:11:13

I will share that sample extension project later this week

bhauman16:11:32

@darwin: sweet! you know there is another project right? https://github.com/suprematic/khroma

darwin16:11:40

@bhauman: yes, I started with khroma two weeks ago, but then realised, this needs to be automated

bhauman16:11:54

very cool simple_smile

darwin16:11:05

I’ve learned a lot about building more advanced macros in this project

bhauman16:11:20

kind of amazing right??

bhauman16:11:43

have you seen tbaldrige's deep walking macros talk?

darwin16:11:24

I started generating all code via templates, and then I realized it would be simpler to do particulat things in clojrescript macros, and then I got captured in this and rewrote most into macros

darwin16:11:47

I’ve seen that talk some time ago, thanks, maybe will watch it again

darwin16:11:17

I don’t need deep walking macros in this project tough, that is another level simple_smile

pbaille17:11:32

Hi! I’m trying to integrate my own ring server into figwheel template, and being able to use browser repl from within cursive, any ideas?

darwin17:11:53

@pbaille: I was able to use figwheel’s internal server with Cursive via nREPL. Just had to specify proper nREPL port. I don’t know much about ring scenario. What exactly does not work for you? Maybe you could create a repo with reproducible problem and we could look at it.

pbaille17:11:22

I’m able to use bare figwheel template within cursive with browser Repl, I just want to know how to add my own ring server instead of figwheel builtin one

darwin17:11:25

@pbaille: hm, what is stopping you from running your server on the side? independently from figwheel’s

pbaille17:11:43

yes I should try, I was hopping an already made template maybe simple_smile

darwin17:11:16

I’m sorry, this is not really my daily scenario, I cannot help here

darwin17:11:59

I have just this simple server, I made some time ago: https://github.com/binaryage/cljs-devtools-sample/tree/master/src/server, it worked with figwheel and I don’t remember any issues, but I didn’t use nREPL there

pbaille17:11:39

no problem, I will try a regular server on the side, it will do the work I think

pbaille17:11:11

by the way cljs-devtools looks great! I will try it one of those days!

kevinmershon17:11:14

Is that what you're looking for, or are you wanting to actually set configuration options for the ring server as well?

pbaille17:11:19

yes! sounds great I will try the :ring-handler option!