Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add swank.autostart back

  • Loading branch information...
commit 37927c7a97474552f5faa97e1174bf452978f384 1 parent 6c10f06
@ninjudd ninjudd authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/cake/main.clj
View
5 src/cake/main.clj
@@ -6,7 +6,8 @@
[clojure.contrib.condition :only [handler-case *condition*]]
[cake.utils :only [*readline-marker*]]
[bake.io :only [init-multi-out]]
- [bake.reload :only [reload reload-project-files]])
+ [bake.reload :only [reload reload-project-files]]
+ [cake.tasks.swank :only [start-swank]])
(:require [cake.tasks default global]
[cake.project :as project]
[cake.server :as server])
@@ -28,4 +29,6 @@
(reload-project-files)
(in-project
(init-multi-out ".cake/cake.log")
+ (when-let [autostart (get *config* "swank.autostart")]
+ (start-swank autostart))
(server/create port process-command)))
Please sign in to comment.
Something went wrong with that request. Please try again.