Fork me on GitHub
#pedestal
<
2017-07-20
>
pedroteixeira00:07:56

hi, is there any sample in github with pedestal + reloaded.repl? tried setup pedestal as a stuartsierra.component, but (reset) in repl but don't get code reloaded 😕 - i tried following the hint to ref routes by var on the guide, but didn't help

bherrmann01:07:24

@pedroteixeira I'm just using a stock pedestal app. When I update functions (via emacs/cider) they take immediate effect.

pedroteixeira01:07:32

ok.. I'm testing Cursive (nrepl) but something is odd here, no changes to routes get reflected to jetty server 😕 I mostly followed the tips on http://pedestal.io/guides/pedestal-with-component but I'm using latest 0.5.2, will probably have to go throught it again - not sure if it's related to nrepl + intellij

pedroteixeira01:07:30

right now, it seems to reload only if I stop/start the server

bherrmann01:07:55

huh. thats strangel

bherrmann01:07:24

I'd wonder if you simply did "lein repl' then did (run-dev)

bherrmann01:07:35

you should see your service start

bherrmann01:07:13

then copy/paste in the cljs file that you have tweaked a function in... you should see that change.

bherrmann01:07:33

I've gone on this recent crusade that if you aren't REPLing changes to immediate effect, than you arent really doing clojure. A forcing function for me to use the REPL.

bherrmann01:07:06

Stu's recent presentation on this topic was interesting. He never leaves the repl... like for years.... https://vimeo.com/223309989

jimmy06:07:57

Thanks for the link. Enjoy every single talk from Stu