-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
io.js + silent prepare issue #61
Comments
link to related issue on cordova tracker : https://issues.apache.org/jira/browse/CB-9297 |
Wondering if it's related to sync/async use of |
Not sure if we need to forcibly call |
Welp, usually adding OTOH, if the usage in this case is within parseJob.js, as indicated in pbxProject.js, then |
I think we can simply remove |
This fixes the issue, caused by changed `process.send` behaviour (which became async at one time, so `process.exit` terminates worker before the message will be sent completely). This resolves alunny#61
Hello, for information, looks like the webworkers used in some scripts are not compatible with io.js
Here : https://github.com/alunny/node-xcode/blob/master/lib/pbxProject.js#L22-L40
If you use io.js, the worker dies silently and then the
cordova prepare
task fail silently too, which leads to unexpected results.While io.js support is luxury, having a way to inform the user if the webworker or prepare phase fails for some reason would save some headaches :)
I tried to add exit/error/close callbacks to the worker with no luck... any idea ?
The text was updated successfully, but these errors were encountered: