-
-
Notifications
You must be signed in to change notification settings - Fork 180
Repl reloading
mbuczko edited this page Dec 31, 2014
·
9 revisions
Reloading modified source files using clojure.tools.namespace.repl/refresh
(eg. by following Stuart's workflow) may return surprising results at the beginning:
boot.user=> (require '[clojure.tools.namespace.repl :as repl])
nil
boot.user=> (repl/refresh)
:reloading ()
:ok
No files reloaded? Looks like they are not found by c.t.n.repl, or being more specific scanned directories are simply incorrect. As the doc says directories may be overwritten by set-refresh-dirs
:
boot.user=> (apply repl/set-refresh-dirs (get-env :src-paths))
Be sure (get-env :src-paths)
returns a valid paths where the sources are really located.
You can find other developers and users in the #hoplon
channel on freenode IRC or the boot slack channel.
If you have questions or need help, please visit the Discourse site.
- Environments
- Boot environment
- Java environment
- Tasks
- Built-ins
- Third-party
- Tasks Options
- Filesets
- Target Directory
- Pods
- Boot Exceptions
- Configuring Boot
- Updating Boot
- Setting Clojure version
- JVM Options
- S3 Repositories
- Scripts
- Task Writer's Guide
- Require inside Tasks
- Boot for Leiningen Users
- Boot in Leiningen Projects
- Repl reloading
- Repository Credentials and Deploying
- Snippets
- Troubleshooting
- FAQ
- API docs
- Core
- Pod
- Util