This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-4.4.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.4.x by this push: new 84d555980e9 CAMEL-20442: camel-jbang - Dev mode for hot reload should not watch .camel-jbang folder. 84d555980e9 is described below commit 84d555980e98ae862f9eec78034a9426e20842d7 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Feb 21 13:23:58 2024 +0100 CAMEL-20442: camel-jbang - Dev mode for hot reload should not watch .camel-jbang folder. --- .../src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java index 2ba9f851e31..da33043fd47 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java +++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java @@ -812,7 +812,7 @@ public class Run extends CamelCommand { // use current dir, however if we run a file that are in another folder, then we should track that folder instead for (String r : sjReload.toString().split(",")) { String path = FileUtil.onlyPath(r); - if (path != null) { + if (path != null && !path.equals(".camel-jbang")) { reloadDir = path; break; }