Fork me on GitHub
#pedestal
<
2018-04-19
>
mv05:04:05

Has anyone gotten figwheel working with pedestal? I haven’t found any examples

joost-diepenmaat07:04:10

do you mean pedestal-app or pedestal server?

joost-diepenmaat08:04:41

@mv as far as I know pedestal-app is not really maintained anymore, for server side stuff with a clojurescript frontend I’ve found it easiest to set up 2 different projects where the frontend code has its own figwheel server and the “custom” server stuff is on another process.

joost-diepenmaat08:04:04

In production it turns out that usually you’d deploy the frontend app on some other server than the backend service (app on S3, with caching/CDN) so you need to make sure that that works anyway.

thegeez08:04:26

@mv this project uses pedestal (server) and figwheel: https://github.com/thegeez/clj-board where figwheel is started from the repl (see dev/clj/user/clj), instead of through lein fighweel

ddeaguiar13:04:46

@joost-diepenmaat yep, pedestal-app is no longer maintained. I’ve also found the two project approach (front end, service) to be the preferred approach as well. /cc @mv

mv17:04:51

Thanks all!

mv17:04:52

@joost-diepenmaat in case of a split codebase, have you ever experienced that you wanted shared code, and how did you deal with that?