tags:

views:

115

answers:

1

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
I just tried it, and it looks like each option should be a separate entry in the vector so: :jvm-opts ["-Xmx1g" "-server"]
Ranjit