Fork me on GitHub
#cursive
<
2017-12-06
>
cfleming00:12:11

@nblumoe You can do this, but there are some extra steps. It’s not in the doc but there are some examples in the mailing list, see e.g. here: https://groups.google.com/d/topic/cursive/FW4F9bq8b78/discussion and here: https://groups.google.com/d/topic/cursive/iTri7vvXViA/discussion

cfleming03:12:50

@james This is a bug in lein-ring, I’ve filed https://github.com/weavejester/lein-ring/issues/196. It’s easy to work around, the issue is that your run config doesn’t use either the api or worker profile, so there’s no :handler configuration in your project. lein-ring incorrectly calls System/exit in that case, see: https://github.com/weavejester/lein-ring/blob/master/src/leiningen/ring/util.clj#L23-L31

cfleming22:12:37

@james That was quick, lein-ring 0.12.2 is out with the fix for that problem.