Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8150

Add a `--noprepare` flag to `cordova run`

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0.0
    • 6.2.0
    • cordova-cli
    • None

    Description

      `cordova run` has the excellent `--nobuild` flag, which makes it possible to skip building (when `cordova build` is called manually).

      Similarly, it would be neat if a `--noprepare` flag was available.

      This allows for more fine-grained control over `run`.

      In our case, we want to do adjustments to files after calling `cordova prepare` (similar to the hooks, but we've implemented it a bit differently), and this is impossible since `cordova run` will call `prepare`, undoing our changes.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sandstrom sandstrom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: