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

Claus Ibsen commented on CAMEL-20442:
-------------------------------------

Live updating open-api is not supported, its not something core camel can do 
but is generated before running Camel by camel-jbang

> 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
>            Priority: Minor
>
> 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