Fork me on GitHub
#reagent
<
2018-10-15
>
manu11:10:07

Hi! I've to add reagent to an existing static web-page made with hugo to make some pieces of this page dynamic. hugo has a live-reload, so every time the js change, hugo recompile. Now with lein cljsbuild auto , leiningen compile the javascript and hugo recompile. But in this way I'm not able to use repl.. How can I use figwheel repl by connecting it to a page served by hugo-server? thx

Tim15:10:03

I have the opposite problem. When using lein package from the reagent template, the js builds properly but when I open the app in a browser I get "ClojureScript has not been compiled! please run lein figwheel in order to start the compiler" On the other hand, lein clean && lein cljsbuild once app works

Tim15:10:18

but they both compile to public/js/app.js

justinlee15:10:18

@manu maybe try in #leiningen or #lein-figwheel

justinlee15:10:33

@tmtwd I’m not sure who maintains the template

manu15:10:09

@tmtwd are you using hugo as well? @lee.justin.m good idea I didn't know about those groups

Tim16:10:48

ah, it was something wrong in my project

Tim16:10:11

I was depending on an external js library which I guess was munged in advanced compilation