http://www.parens-of-the-dead.com/ is a screencast series that shows a nice emacs/cider workflow with some additional usage of figwheel for the cljs frontend development. No showing off of the debugger yet though. Cursive should be able to do something similar with keybindings for running tests and refactorings.
There is little direct repl interaction in this series. However, many of the commands use the connection to the development environment to run things for the user. For example, clj-autotest runs https://github.com/magnars/.emacs.d/blob/master/site-lisp/clj-autotest.el#L4 over the connection. Hot swapping works by the tooling sending the new code over the connection. Personally, I use the repl a bit more, but for exploratory testing. Does `(repeat 1 2)` return '(1 1) or '(2) type things. The majority of writing code happens in the file, and I let the tooling load it for me. Additionally, for web development I use a ring server component much like the screencasts, instead of `lein ring server`. Then I can use the reloaded/refresh style system to restart everything when needed rather then needing to kill the whole jvm. On Mon, Oct 5, 2015 at 5:00 AM, Miguel Ping <miguel.p...@gmail.com> wrote: > Hi Guys, > > I've been doing some personal clj for a while, but I never quite grokked > the whole REPL thing. I normally use Lighttable and/or Cursive as editors, > I can set up breakpoints and debug the code, but for web I'd like to know > how seasoned developers work. > AFAIK people fire up the repl and "do everything from there" but I still > don't understand some parts: > > - do you code functions in the repl and copy them to respective files? > - do you edit files directly and hook them into the repl? > - how do you set breakpoints? > - can you do hot-replacement easily? I always see a bunch of stack traces > while using lein and ring with reload flags > - is there an article or screencast explaining the "feel" of this? > > My current worfklow is just starting > lein ring server and developing, > but my general impression is that I need to restart it sometimes. > > As I understand it, the repl workflow is very much a lisp thing. > Thanks! > > -- > 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/d/optout. > -- 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/d/optout.