From 61ca469a7c42fd2b20fcdcad941d41db33bea478 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Fri, 11 Sep 2026 20:29:48 +0700 Subject: [PATCH] A restart that stopped at the quit has not restarted anything --- emacs/flan-dev.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs/flan-dev.el b/emacs/flan-dev.el index a5e6f2f..3983c63 100644 --- a/emacs/flan-dev.el +++ b/emacs/flan-dev.el @@ -519,7 +519,9 @@ whole cost and the reason this is a separate command rather than something The old daemon is waited for before the new one starts, because it unlinks the socket on its way out and would otherwise unlink the one its successor -had just bound." +had just bound. If it will not close and has to be killed, this stops there +rather than starting a second program on top of one that may still be +running — `flan-dev' then starts it again, on the same program." (interactive) (unless (process-live-p flan-dev--daemon) (user-error "flan dev: no daemon started from Emacs to restart"))