Permalink
Browse files

Merge pull request #760 from zerokarmaleft/master

REPL plugin should clean up after itself
  • Loading branch information...
2 parents 5400be1 + 639c636 commit 26572bc2bdd49190f86b904e580491d61138ce61 @technomancy committed Aug 31, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/leiningen/repl.clj
View
@@ -56,6 +56,7 @@
port# (-> server# deref :ss .getLocalPort)]
(println "nREPL server started on port" port#)
(spit ~(str (io/file (:target-path project) "repl-port")) port#)
+ (.deleteOnExit (io/file ~(:target-path project) "repl-port"))
@(promise))]
(if project
(eval/eval-in-project

0 comments on commit 26572bc

Please sign in to comment.