 
 (defvar doom-init-time nil
   "The time it took, in seconds, for DOOM Emacs to initialize.")
+
+(defvar doom-inhibit-reload nil
+  "If non-nil, remote reload calls (via the server) will be ignored.")
 
 (defvar doom--site-load-path load-path
   "The load path of built in Emacs libraries.")

      (progn
        (message "Reloading...")
        (require 'server)
        (unless (ignore-errors (server-eval-at "server" '(doom/reload)))
          (message "Recompiling")
          (doom/recompile)))
    (doom-initialize t)
    (doom/recompile)
    (message "Reloaded %d packages" (length doom--package-load-path))))

(defun doom/reload-autoloads ()
  "Refreshes the autoloads.el file, which tells Emacs where to find all the

;; Commands
;;

(defun doom/reload (&optional ignorable-p)
  "Reload `load-path' and recompile files (if necessary). Useful if you
modify/update packages outside of emacs. Automatically called (through the
server, if necessary) by `doom/packages-install', `doom/packages-update' and
