[TIMOB-25968] Liveview: Write more information to pidfile, such as port and ip data
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-06-17T13:23:24.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 9.1.0 |
Components | LiveView |
Labels | n/a |
Reporter | Ewan Harris |
Assignee | Ebenezer Boateng |
Created | 2018-04-16T09:59:24.000+0000 |
Updated | 2020-06-17T13:25:27.000+0000 |
Description
Description
Currently when liveview writes its pidfile (at ~/.titanium), it only contains the path of the project, we should write more data to this (ip, fport, eport etc.) so that commands like stop/restart can function if the user defines a custom ip or port. It would probably make sense to turn this file into a json object like below
{
"projectPath": "<path to project>",
"ip": "127.0.0.1",
"eport": "1234",
"fport": "1235",
"alloy: true,
"platform": "android"
}
https://github.com/appcelerator/liveview/pull/133
Removing from current sprint as this will only be testable once we update liveview in the SDK, when we do that we can pull this ticket back into the sprint for qe
*FR Passed:* when opening the
~/.titanium
location able to see the following*Test Environment*
Verified in SDK version
9.1.0.v20200615121135