Simplest way to achieve this is by getting recompile-on-save to recompile for you. Because your process is long-running, also configure compilation-always-kill to be t. You might also want to set compilation-ask-about-save as nil.
compilation-always-kill
t
compilation-ask-about-save
nil
Simplest way to achieve this is by getting recompile-on-save to recompile for you. Because your process is long-running, also configure
compilation-always-kill
to bet
.You might also want to set
compilation-ask-about-save
asnil
.