You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Hossein Amin (JIRA)" <ji...@apache.org> on 2018/02/27 09:31:00 UTC

[jira] [Created] (CB-13922) sim launch force-fully exits process

Hossein Amin created CB-13922:
---------------------------------

             Summary: sim launch force-fully exits process
                 Key: CB-13922
                 URL: https://issues.apache.org/jira/browse/CB-13922
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-ios
    Affects Versions: cordova-ios 4.5.0
            Reporter: Hossein Amin
            Assignee: Suraj Pindoria


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org