Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我在交互模式下运行 Leiningen('lein interactive')并启动了 Swank Clojure 服务器('swank')。现在我想在不杀死 Leiningen 的情况下杀死/重新启动 Swank 服务器。我怎样才能做到这一点?这甚至可能吗?
到目前为止,我一直在使用 Ctrl-C 来杀死两者,这并没有让 Leiningen 的交互模式对我有用,因为我可能刚开始运行 'lein swank'。
如果你使用的是 Slime,你可以调用,restwhich is bound to (restart-inferior-lisp)。这将重新启动您的 swank 会话。
,rest
(restart-inferior-lisp)
这还没有实现。但是,交互式任务是为不使用 swank 的人设计的。Swank 已经为您的项目打开了一个 JVM,因此这违背了交互式任务的目的。