Skip to content

Commit

Permalink
Merge pull request #760 from zerokarmaleft/master
Browse files Browse the repository at this point in the history
REPL plugin should clean up after itself
  • Loading branch information
technomancy committed Aug 31, 2012
2 parents 5400be1 + 639c636 commit 26572bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/leiningen/repl.clj
Expand Up @@ -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
Expand Down

0 comments on commit 26572bc

Please sign in to comment.