简体   繁体   English

苹果酒劫持后开始启动任务

[英]start boot task after cider-jack-in

After starting a boot project via cider-jack-in, how can I start a specific boot task? 通过苹果酒启动启动项目后,如何启动特定的启动任务?

In the repl (dir boot.user) reveals the tasks defined in build.boot . 在repl中(dir boot.user)显示了build.boot定义的任务。 However, invoking one by eg (dev) has no effect, at least the ring server defined in that task can not be connected to. 但是,通过(dev)调用一个服务器无效,至少该任务中定义的环形服务器无法连接。 when using boot dev from the commandline, it works. 从命令行使用boot dev时,它可以工作。 The reason why I need to switch to cider-jack-in, is that it looks in the shell/cider-connect approach there is no way to print/log to an emacs buffer instead of to the default shell (which is mixed with all the compilation messages). 我需要切换到苹果酒插入的原因是,它看起来在shell /苹果酒连接方法中,无法打印/登录到emacs缓冲区,而不是默认的shell(与所有内容混合在一起)编译消息)。

You need to execute 您需要执行

(boot (dev)) 

Calling (dev) will produce your task function which you need to pass to boot function for execution. 调用(dev)将产生您的任务函数,您需要将该任务函数传递给boot函数以执行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM