Nyxt: Use *run-from-repl-p* instead of *keep-alive*.

master
Pierre Neidhardt 2021-03-30 10:37:25 +02:00
parent da31a22916
commit a705f20563
1 changed files with 2 additions and 1 deletions

View File

@ -10,5 +10,6 @@ before running this command."
(echo "Slynk server started at port ~a" slynk-port))
;; Start slynk by default.
(unless nyxt::*keep-alive*
;; WARNING: This triggers an error if another instance is already running at 4006.
(unless nyxt::*run-from-repl-p*
(slynk:create-server :port 4006 :dont-close t))