Skip to content

Commit

Permalink
Merge pull request #25 from tommy-mor/master
Browse files Browse the repository at this point in the history
emacs keybind for reloading server
  • Loading branch information
awkay authored Nov 8, 2022
2 parents f3c607d + 0a4d448 commit 8986927
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/dev/user.clj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@
;; If using IntelliJ, Use actions to "Add new REPL command", and add this (dropping the comment around it),
;; then add a keyboard shortcut to it. Then you can start your server quickly once the REPL is going:

;; If using emacs, copy this snippet into a .dir-locals.el file at project root:
;; (
;; (nil .
;; ((eval . (progn
;; (local-set-key (kbd "C-c C-r")
;; (lambda ()
;; (interactive)
;; (cider-interactive-eval
;; "(require 'development) (in-ns 'development) (restart)"
;; nil
;; nil
;; (cider--nrepl-pr-request-map)))))))))
;;

(comment
(require 'development)
(in-ns 'development)
Expand Down

0 comments on commit 8986927

Please sign in to comment.