How do I set options like -server when I launch Clojure using lein swank?
+3
A:
Looking at the sample.project.clj file on the github repository, It looks like you can pass jvm arguments using the :jvm-opts keyword. For Example:
:jvm-opts ["-Xmx1g -server"]
Joel Boehland
2010-09-21 04:30:10
I just tried it, and it looks like each option should be a separate entry in the vector so: :jvm-opts ["-Xmx1g" "-server"]
Ranjit
2010-09-21 14:14:13