From 58499c2fd907656b16637afa2dcd2582e92d2f19 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 13 Apr 2022 15:27:42 -0400 Subject: [PATCH] Always compile before running exec:java --- emacs/.emacs.d/config/init-run-command.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/.emacs.d/config/init-run-command.el b/emacs/.emacs.d/config/init-run-command.el index f961e2a..8d88309 100644 --- a/emacs/.emacs.d/config/init-run-command.el +++ b/emacs/.emacs.d/config/init-run-command.el @@ -243,7 +243,7 @@ :command-line "mvn clean" :working-dir project-dir) (list :command-name "exec:java" - :command-line "mvn exec:java" + :command-line "mvn compile exec:java" :working-dir project-dir) (when-let ((test-class (and (buffer-file-name) (let ((case-fold-search nil))