[ 
https://issues.apache.org/jira/browse/CAMEL-20442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17819246#comment-17819246
 ] 

Ricardo Martinez commented on CAMEL-20442:
------------------------------------------

Ah, you're right, also, since the point of using the OpenApi is to avoid 
creating code in the Route, it's not even necessary to watch the OpenApi nor 
the generated output, just the Camel Route. Thanks for checking it out 
[~davsclaus] 

> 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
>    Affects Versions: 4.4.0
>            Reporter: Ricardo Martinez
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.4.1, 4.5.0
>
>
> 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