Project: titanium
Issue TIMOB-23696: Windows: Ti.App._restart() does not function correctly
LiveView requires {{Ti.App._restart()}} in order to function correctly. This should reload the application instead of exiting (like it does currently). *TEST CASE* {code} var win = Ti.UI.createWindow({ backgroundColor: 'blue' }), btn = Ti.UI.createButton({ title: 'Ti.App._restart()' }); setTimeout(function () { win.backgroundColor = 'red'; }, 2000); btn.addEventListener('click', function () { Ti.App._restart(); }); win.add(btn); win.open(); {code}
Story points: 5