Ricardo Martinez created CAMEL-20442:
----------------------------------------

             Summary: Camel JBang with --open-api flag, stop watching the route
                 Key: CAMEL-20442
                 URL: https://issues.apache.org/jira/browse/CAMEL-20442
             Project: Camel
          Issue Type: Improvement
          Components: camel-jbang
            Reporter: Ricardo Martinez


Currently, when running a route in dev mode, in addition to providing an 
OpenApi schema, the CLI watches the `.camel-jbang` folder instead.

How to reproduce:
{code:java}
$ camel run --dev --open-api MyOpenApi.yaml MyRoute.yaml

...
Live route reloading enabled (directory: .camel-jbang)
...{code}
 

This causes the route to be ignored for the live reload process, whereas the 
OpenApi is watched. Ideally, both files should be watched.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to