       (print! (green "✓ Removed load-path/auto-mode-alist entries")))
     (doom--byte-compile doom-package-autoload-file)
     (when (and noninteractive (not (daemonp)))
-      (doom--server-eval `(load-file ,doom-package-autoload-file)))
+      (doom--server-load doom-package-autoload-file))
     t))
 
 


(autoload 'print! "autoload/message" nil 'macro)

(defun doom--server-eval (body)
  (require 'server)
  (when (server-running-p)
    (server-eval-at server-name body)))

;;;###autoload
(defun doom//reload (&optional force-p)

              (save-buffer)
              (doom--byte-compile doom-autoload-file)
              (when (and noninteractive (not (daemonp)))
                (doom--server-load doom-autoload-file))
              t)
          (kill-buffer buf))))))

