[TIMOB-19698] Windows: CLI doesn't exit like on Mac when running into a parse error
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-11-03T14:19:20.000+0000 |
Affected Version/s | Release 5.0.2 |
Fix Version/s | Release 5.1.0 |
Components | Windows |
Labels | n/a |
Reporter | Fokke Zandbergen |
Assignee | Kota Iguchi |
Created | 2015-10-09T11:48:31.000+0000 |
Updated | 2015-11-04T18:30:52.000+0000 |
Description
On Mac OS X, when the CLI runs into a JS parse error it will exit. On Windows it does not and you have to manually kill the process.
*Sample*
var win = Ti.UI.createWindow(backgroundColor:'#FFF'});
win.open();
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2015-10-09 at 13.43.07.png | 2015-10-09T11:48:28.000+0000 | 18105 |
Screen Shot 2015-10-09 at 13.43.13.png | 2015-10-09T11:48:29.000+0000 | 35774 |
I'm using Windows PowerShell but this does not happen to me. [~fokkezb] Did you use PowerShell?
I just tested it again and still have it. Windows 8.1 Enterprise using PowerShell and:
Got it. Looks like it's because it stopped while launching emulator. working on it.
https://github.com/appcelerator/titanium_mobile_windows/pull/460
Verified using: Windows 10 Pro Appc Core: 5.1.0-42 Appc NPM: 4.2.1 Ti SDK: 5.1.0.v20151104073721 When running into a parse error the CLI now exits
Closing ticket