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

sim launch force-fully exits process

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • cordova-ios 4.5.0
    • None
    • cordova-ios

    Description

      Hi, I was trying to get cordova-plugin-browsersync to work with ios simulator.

      I discovered that at /bin/templates/scripts/cordova/lib/run.js@startSim

      return iossim.launch(appPath, 'com.apple.CoreSimulator.SimDeviceType.' + target, logPath, '--exit');

       

      This call is made inside main process, Where request for exit will end main process with no chance to catch it.

       

      I assume this call returns a promise for when launch was successful, If that can happen.

      Things will go smoothly after that.

      Attachments

        Issue Links

          Activity

            People

              shazron Shazron Abdullah
              hosseinamin Hossein Amin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Time Spent - 10m Remaining Estimate - 1h 50m
                  1h 50m
                  Logged:
                  Time Spent - 10m Remaining Estimate - 1h 50m
                  10m