Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recompile function for REPL development #26

Closed
bucketh3ad opened this issue Jul 12, 2015 · 1 comment
Closed

Recompile function for REPL development #26

bucketh3ad opened this issue Jul 12, 2015 · 1 comment

Comments

@bucketh3ad
Copy link

Since Spark requires functions to be compiled in order to work, I wrote a little helper function that aids REPL development by recompiling the current namespace.

(defn recompile [] (binding [*compile-files* true] (require (symbol (str *ns*)) :reload-all)))

Not sure if this would fit in the project anywhere, but I found it useful for speeding up my workflow, particularly when connected to an nREPL from my editor. Calling (recompile) certainly beats booting up a new REPL and reconnecting.

@bucketh3ad bucketh3ad changed the title Recompile helper function for REPL development Recompile function for REPL development Jul 12, 2015
@chrisbetz
Copy link
Contributor

closing this, because working on that will be tracked in #36 . Thanks for the input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants