This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
     new 74d279a5 Fix run
74d279a5 is described below

commit 74d279a527dbf553b9a2ef885bdbcd7113dfcb89
Author: Marat Gubaidullin <ma...@talismancloud.io>
AuthorDate: Thu Jan 30 17:07:16 2025 -0500

    Fix run
---
 karavan-vscode/src/exec.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/karavan-vscode/src/exec.ts b/karavan-vscode/src/exec.ts
index 29d2c062..3dda92a4 100644
--- a/karavan-vscode/src/exec.ts
+++ b/karavan-vscode/src/exec.ts
@@ -50,7 +50,7 @@ export async function runWithRuntime(fullPath: string, run?: 
boolean) {
     if (run) {
         const runtime = await utils.getRuntime();
         const mvn = runtime === 'quarkus' ? "quarkus:dev" : (runtime === 
'spring-boot' ? "spring-boot:run" : "camel:run");
-        command = command.concat(" && mvn clean ").concat(mvn).concat(" -f 
").concat(fullPath);
+        command = command.concat(" && mvn clean compile 
").concat(mvn).concat(" -f ").concat(fullPath);
     }
     execTerminalCommand("runtime-run", command);
 }

Reply via email to