auto-refresh & auto-reload moved to dev profile only
This commit is contained in:
+4
-4
@@ -13,11 +13,11 @@
|
|||||||
:main notehub.handler
|
:main notehub.handler
|
||||||
:min-lein-version "2.0.0"
|
:min-lein-version "2.0.0"
|
||||||
:plugins [[lein-ring "0.8.12"]]
|
:plugins [[lein-ring "0.8.12"]]
|
||||||
:ring {:handler notehub.handler/app
|
:ring {:handler notehub.handler/app}
|
||||||
:auto-reload? true
|
|
||||||
:auto-refresh? true}
|
|
||||||
:profiles {:uberjar {:aot :all}
|
:profiles {:uberjar {:aot :all}
|
||||||
:dev {:dependencies
|
:dev {:ring {:auto-reload? true
|
||||||
|
:auto-refresh? true}
|
||||||
|
:dependencies
|
||||||
[[javax.servlet/servlet-api "2.5"]
|
[[javax.servlet/servlet-api "2.5"]
|
||||||
[ring-mock "0.1.5"]]}}
|
[ring-mock "0.1.5"]]}}
|
||||||
:jvm-opts ["-Dfile.encoding=utf-8"])
|
:jvm-opts ["-Dfile.encoding=utf-8"])
|
||||||
|
|||||||
Reference in New Issue
Block a user