Fork me on GitHub
#mount
<
2016-04-16
>
jethroksy09:04:51

I'm wondering if I'm missing/misunderstanding something

jethroksy09:04:09

I'm storing an aleph server in a defstate like this:

jethroksy09:04:12

(defstate web-conn
  :start (http/start-server handler {:port 3000})
  :stop (.close web-conn))

jethroksy09:04:44

However when I go into the repl and inspect web-conn, it comes up as nil

jethroksy09:04:57

hmm turns out it's there but something else is running on that port

tolitius17:04:44

@jethroksy: where and how is web-conn started?

tolitius17:04:05

the response is delayed by 7 hours.. I guess due to our diffs in time zones simple_smile but was something just started on 3000 and therefore web-conn could not be started?