{"action":"created","issue":{"url":"https://api.github.com/repos/dgrnbrg/spiral/issues/19","labels_url":"https://api.github.com/repos/dgrnbrg/spiral/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/dgrnbrg/spiral/issues/19/comments","events_url":"https://api.github.com/repos/dgrnbrg/spiral/issues/19/events","html_url":"https://github.com/dgrnbrg/spiral/issues/19","id":99650861,"number":19,"title":"How can we use spiral and ring-reload together?","user":{"login":"emrehan","id":2770895,"avatar_url":"https://avatars.githubusercontent.com/u/2770895?v=3","gravatar_id":"","url":"https://api.github.com/users/emrehan","html_url":"https://github.com/emrehan","followers_url":"https://api.github.com/users/emrehan/followers","following_url":"https://api.github.com/users/emrehan/following{/other_user}","gists_url":"https://api.github.com/users/emrehan/gists{/gist_id}","starred_url":"https://api.github.com/users/emrehan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emrehan/subscriptions","organizations_url":"https://api.github.com/users/emrehan/orgs","repos_url":"https://api.github.com/users/emrehan/repos","events_url":"https://api.github.com/users/emrehan/events{/privacy}","received_events_url":"https://api.github.com/users/emrehan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-08-07T13:50:02Z","updated_at":"2015-08-23T18:58:30Z","closed_at":null,"body":"I've tried make spiral and ring-reload work together without success.\r\n\r\nI'm getting the following error:\r\n```\r\nERROR http-kit - Encountered unhandled error from spiral httpkit adapapter.\r\njava.lang.Exception: Cyclic load dependency: [ /spock/core ]->/spock/rest->[ /spock/core ], compiling:(/private/var/folders/m5/tl2vtswn5sjb4jry7k6x30tr0000gn/T/form-init8541479910851221960.clj:1:198)\r\n\tat clojure.core$throw_if.doInvoke(core.clj:5630)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:442)\r\n\tat clojure.core$check_cyclic_dependency.invoke(core.clj:5766)\r\n\tat clojure.core$load.doInvoke(core.clj:5863)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:408)\r\n\tat clojure.core$load_one.invoke(core.clj:5671)\r\n\tat clojure.core$load_lib$fn__5397.invoke(core.clj:5711)\r\n\tat clojure.core$load_lib.doInvoke(core.clj:5710)\r\n\tat clojure.lang.RestFn.applyTo(RestFn.java:142)\r\n\tat clojure.core$apply.invoke(core.clj:632)\r\n\tat clojure.core$load_libs.doInvoke(core.clj:5749)\r\n\tat clojure.lang.RestFn.applyTo(RestFn.java:137)\r\n\tat clojure.core$apply.invoke(core.clj:632)\r\n\tat clojure.core$require.doInvoke(core.clj:5832)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:421)\r\n\tat ring.middleware.reload$wrap_reload$fn__471.invoke(reload.clj:17)\r\n\tat ring.middleware.json$wrap_json_body$fn__759.invoke(json.clj:46)\r\n\tat clojure.lang.Var.invoke(Var.java:379)\r\n\tat spiral.core$sync__GT_async_adapter$fn__5831$fn__5832.invoke(core.clj:48)\r\n\tat spiral.core$sync__GT_async_adapter$fn__5831.invoke(core.clj:47)\r\n\tat clojure.core.async$thread_call$fn__4086.invoke(async.clj:405)\r\n\tat clojure.lang.AFn.run(AFn.java:22)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n...\r\n```\r\n\r\nHow can we resolve the issue?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/dgrnbrg/spiral/issues/comments/133897887","html_url":"https://github.com/dgrnbrg/spiral/issues/19#issuecomment-133897887","issue_url":"https://api.github.com/repos/dgrnbrg/spiral/issues/19","id":133897887,"user":{"login":"dgrnbrg","id":618507,"avatar_url":"https://avatars.githubusercontent.com/u/618507?v=3","gravatar_id":"","url":"https://api.github.com/users/dgrnbrg","html_url":"https://github.com/dgrnbrg","followers_url":"https://api.github.com/users/dgrnbrg/followers","following_url":"https://api.github.com/users/dgrnbrg/following{/other_user}","gists_url":"https://api.github.com/users/dgrnbrg/gists{/gist_id}","starred_url":"https://api.github.com/users/dgrnbrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgrnbrg/subscriptions","organizations_url":"https://api.github.com/users/dgrnbrg/orgs","repos_url":"https://api.github.com/users/dgrnbrg/repos","events_url":"https://api.github.com/users/dgrnbrg/events{/privacy}","received_events_url":"https://api.github.com/users/dgrnbrg/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T18:58:30Z","updated_at":"2015-08-23T18:58:30Z","body":"I'm really not sure what's going on. I've further determined that even if I do those `require`s, then ring-reload definitely invokes using `(require ... :reload)`, but also the source file is not reloaded, so it just silently fails.\r\n\r\nPerhaps you could require the specific namespaces yourself from your editor? That's what I do."}}