[英]How can I reload code in a Clojure pedestal repl for a quick development workflow?
I am using Pedestal (pedestal.io) and in development am running the server from inside a repl.我正在使用 Pedestal (pedestal.io),并且正在开发中从 repl 内部运行服务器。
When I make a change to the application code (such as changing the html template) how can I have the repl reflect these changes automatically upon save of file and have them show up on browser refresh?当我更改应用程序代码(例如更改 html 模板)时,如何让 repl 在保存文件时自动反映这些更改并让它们在浏览器刷新时显示?
您可能需要参考auto-reload-server
示例,该示例使用ns-tracker
来查看代码中的更改。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.