简体   繁体   中英

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 . However, invoking one by eg (dev) has no effect, at least the ring server defined in that task can not be connected to. when using boot dev from the commandline, it works. 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).

You need to execute

(boot (dev)) 

Calling (dev) will produce your task function which you need to pass to boot function for execution.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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