Typically I start emacs with the GUI, and start a server right away with
(server-start). Now I can easily open documents into my existing emacs session from terminal via
emacsclient -n <file>, or from the File Browser.
From time to time, however, I want to run emacs inside my terminal using
emacsclient -t. This happens most often when writing git commit logs or performing other very small tasks. In those instances, the fact that my init file was loaded in a GUI instance of emacs means that I don't get any of my customizations that are specific to TTY emacs.
I know that I can run
emacs -nw -q -l "some-custom-init-file.el"
but that will reload all of the packages every time. Can I have the best of both worlds? Is there a way to set up a "TTY daemon" so that I can use separate customizations for running inside the terminal versus visiting the file in an existing emacs window?