Fork me on GitHub
#fulcro
<
2018-11-17
>
geraldodev00:11:16

anyone using fulcro template project.clj converted it to use tools.dep ?

claudiu06:11:52

Only for the frontend so far.

pauld15:11:51

I'm checking out the new fulcro lein template. I noticed that it's not launching a server on port 8020 for the main build as before. Is that a bug?

pauld15:11:06

Perhaps we are meant to launch the server manually? (the README needs to be updated).

pauld15:11:14

also cemerick/piggieback needs to be changed to cider/piggieback

pauld17:11:55

Also, in cider, to enable the use of clj and cljs repls to use a single java process, the shadow-cljs.edn file should be modified to use {:profile "cljs,dev"} so that the dev profile is picked up and the clojure repl will have the required dev dependencies.

pauld17:11:56

I also had to add the clojurescript dependency under the project.clj :cljs profile.

tony.kay18:11:47

@pauld Thanks for trying that out in emacs...the README tells you how to do builds does it not? I'm not an emacs users, so feel free to update the template, try it out, and then send a PR.

pauld18:11:42

ah, sorry yes it does. I it was just there is a line in the readme after launching 'npx shadow-cljs server' that has "shadow-cljs - HTTP server for :main available at http://localhost:8020" haha - I feel so nitpicky.

pauld18:11:16

Thanks @tony.kay I'll see about putting together a pull request based on my experiences. Cheers.