title: Clojure Ring wrap-reload is not working
body: <p>This is my core.clj file</p>
  
  <pre><code>(ns lein-app.core
    (:require [compojure.core :refer :all]
              [compojure.route :as route]
              [ring.middleware.reload :refer [wrap-reload]]))
  
  (use 'ring.adapter.jetty)
  
  (defroutes app
    (GET "/" [] "&lt;h1&gt;Hello world&lt;/h1&gt;")
    (route/not-found "&lt;h1&gt;Not found&lt;/h1&gt;"))
  
  (def reloadable-app
    (wrap-reload app))
  
  (defn -main
    []
    (run-jetty reloadable-app {:port 3000}))
  </code></pre>
  
  <p>And this is my project.clj</p>
  
  <pre><code>(defproject lein-app "0.1.0-SNAPSHOT"
    :description "FIXME: write description"
    :url "http://example.com/FIXME"
    :license {:name "Eclipse Public License"
              :url "http://www.eclipse.org/legal/epl-v10.html"}
    :dependencies [
      [org.clojure/clojure "1.8.0"]
      [compojure "1.5.2"]
      [ring "1.5.0"]]
  
    :main lein-app.core)
  </code></pre>
  
  <p>When I run lein run it starts the server correctly but if I change the GET response to be anything else for example I need to kill the server and restart it.</p>