如何热重新加载命名空间文件保存在Leiningen REPL [英] How to hot reload a namespace on file save in Leiningen REPL

查看:194
本文介绍了如何热重新加载命名空间文件保存在Leiningen REPL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当使用leiningen REPL时,有一种方法使文件或ns自动重新加载在文件保存中。目前我通过在repl - (使用'sample.ns:reload-all)中键入以下内容重新加载ns。

When using the leiningen REPL, is there a way to make a file or ns automatically reload in the repl on file save. Currently I reload the ns by typing the following in the repl - (use 'sample.ns :reload-all).

但是,我可以在文件保存时自动重新加载吗?

However can I have it reload automatically on file save ?

推荐答案

尝试此链接

Leininge插件在已修改的文件中重新加载命名空间

a href =https://github.com/paraseba/lein-reload =nofollow> https://github.com/paraseba/lein-reload

https://github.com/paraseba/lein-reload

这篇关于如何热重新加载命名空间文件保存在Leiningen REPL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆