Hi,  here is how to do hot code reload: 

http://http-kit.org/migration.html#reload


On Monday, April 15, 2013 12:48:50 PM UTC+8, Wei Hsu wrote:
>
> Thanks guys, got it sorted out.
>
> If I may ask a followup question, how do you run it in development? 
> Pre-http-kit, I've been using lein ring server, which has a nice feature 
> that reloads code automatically as it is saved so you don't have to restart 
> the server.
>
> On Sunday, April 14, 2013 8:39:50 PM UTC-7, Ryan McGowan wrote:
>>
>> Maik is right. However, if you still want an example application you can 
>> check out a side project <https://github.com/RyanMcG/Cadence> of mine. 
>> It works just fine on Heroku.
>>
>> Originally it was a noir/jetty application which I have since moved to 
>> http-kit<https://github.com/RyanMcG/Cadence/commit/77298c789d0c77e65bc1007e7ae74a70e6161c7f>and
>>  Compojure. Enjoy :)
>>
>> On Sunday, April 14, 2013 2:36:44 PM UTC-4, Maik Schünemann wrote:
>>>
>>> I don't have an example of deploying http-kit on Heroku, but I think it 
>>> should be straightforward - basically your local setup should work on 
>>> heroku.
>>> Just like you can deploy your application, which starts up jetty to 
>>> heroku I think you can deploy your http-kit application on heroku.
>>> The only think to remember is that the port of the server is stored in 
>>> the port environment variable.
>>>
>>> So,
>>> just try :)
>>>
>>>
>>> On Sat, Apr 13, 2013 at 11:22 PM, Wei Hsu <yayi...@gmail.com> wrote:
>>>
>>>> Does anyone have an example of deploying http-kit on Heroku? The official 
>>>> example <https://devcenter.heroku.com/articles/clojure> uses Jetty. 
>>>>
>>>> -- 
>>>> -- 
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Clojure" group.
>>>> To post to this group, send email to clo...@googlegroups.com
>>>> Note that posts from new members are moderated - please be patient with 
>>>> your first post.
>>>> To unsubscribe from this group, send email to
>>>> clojure+u...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/clojure?hl=en
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Clojure" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to clojure+u...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>  
>>>>  
>>>>
>>>
>>>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to