Re: Ring + Compojure new route recognition

2014-04-28 Thread Jarrod Swart
Thank you. The compojure-app template does something similar, and I was using that from LightTable, evaling a (start-server) var. This was good info and reminded me what I was doing and how to apply it to the new environment. -- You received this message because you are subscribed to the

Ring + Compojure new route recognition

2014-04-27 Thread Jarrod Swart
I've noticed that when using Ring + Compojure w/ LightTable the following process will get me access to any newly added routes. 1. Add a route 2. Eval the route NS 3. Eval the handler NS 4. Check route in browser 5. Success Recently I've begun using Vim + Fireplace. I cd to my project dir and

Re: Ring + Compojure new route recognition

2014-04-27 Thread Brian Craft
I haven't used lein ring server, but my understanding is that it reloads when you write to disk. If you're just using the Eval feature of Fireplace, it's not going to write anything to disk, so lein won't know it should reload. I've been using fireplace with the manual ring process described