Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20442

Camel JBang with --open-api flag, stop watching the route

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.4.0
    • 4.4.1, 4.5.0
    • camel-jbang
    • None
    • Unknown

    Description

      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:

      $ camel run --dev --open-api MyOpenApi.yaml MyRoute.yaml
      
      ...
      Live route reloading enabled (directory: .camel-jbang)
      ...

       

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

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              ricmarti Ricardo Martinez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: