Skip to main content

Auto reload class with Clojure nREPL

Project description

Auto reload class with nREPL.

https://asciinema.org/a/0zgnfutgxw7jedoza1ievcx7z.png

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
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nrepl-0.1.7.tar.gz (4.8 kB view hashes)

Uploaded source

Built Distribution

nrepl-0.1.7-py2.py3-none-any.whl (7.3 kB view hashes)

Uploaded 3 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page