https://github.com/shonenada/nrepl-reloader
https://github.com/shonenada/nrepl-reloader
clojure nrepl python reload
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shonenada/nrepl-reloader
- Owner: shonenada
- License: mit
- Created: 2017-02-22T11:24:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-03-04T05:45:03.000Z (almost 5 years ago)
- Last Synced: 2025-04-08T01:38:13.381Z (9 months ago)
- Topics: clojure, nrepl, python, reload
- Language: Python
- Size: 45.9 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES
- License: LICENSE
Awesome Lists containing this project
README
nREPL-reloader
==============
Auto reload class with `nREPL <(https://github.com/clojure/tools.nrepl>`_.
.. image:: https://asciinema.org/a/0zgnfutgxw7jedoza1ievcx7z.png
:target: https://asciinema.org/a/0zgnfutgxw7jedoza1ievcx7z
Quick Start
-----------
1. Install `nrepl` by `pip`::
$ pip install nrepl
2. Start watching clojure files, Run `nrepl` with watch command::
$ nrepl watch -p 59258 -w /path/to/project
Start watching /home/shonenada/Projects/clojure/src
Detected changes of /home/shonenada/Projects/clojure/src/route.clj, reloading
3. (or) Start clojure project (`lein run`) and watch clojure files::
$ nrepl run -p 59258 -w /path/to/project
[lein]: Compiling 1 source files...
[lein]: Start server on 8080
[nrepl]: Start watching /home/shonenada/Projects/clojure/src
[nrepl]: Detected changes of /home/shonenada/Projects/clojure/src/route.clj, reloading