Project: appceleratorstudio
Issue TISTUD-3901: Studio: Code changes in app.js are not being reflected in simulator
While running app on simulator I encountered this issue. When changes in JS code are made to app.js, they were not reflected in the simulator. Only deleting the project's build folder or cleaning project applies changes. Test steps: 1. Run the following code in the simulator {code} var win = Ti.UI.createWindow({	backgroundColor:"green"	});	var button = Ti.UI.createButton({	title:"click me" }); var Cloud = require('ti.cloud'); button.addEventListener("click", function() {	Ti.API.info('click fired');	Cloud.Users.login({	login : 'user',	password : 'password'	}, function(e) {	if (e.success) {	alert('worked');	} else {	alert('error');	Ti.API.info(e.message);	}	}); }); win.add(button); win.open(); {code} 2. Change the following backgroundColor:"green" to backgroundColor:"blue" 3. Run the app in simulator again without cleaning Actual result: 1. Screen is green 3. Screen is green Expected result: 1. Screen should be green 2. Screen should be blue Also we were able to reproduce this issue using an Alloy project and Studio. Building using CLI from the terminal works as expected. The environment: 1) TiStudio: 3.1.0.201303202340 TiSDK: 3.1.0.v20130319125050 TiCLI: CLI version 3.0.24 Node version: 0.8.17 Alloy: 1.1.0 2) TiStudio: 3.1.0.201303202340 TiSDK: 3.1.0.v20130321105651 TiCLI: CLI version 3.0.25 Node: 0.8.17 Alloy: 1.1.0
Story points: 5