[TIMOB-6694] Android: Fastdev: v8/rhino: Adding an external js file and restarting with fastdev running does not pick up the new file
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-12-15T21:39:31.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Sprint 2011-50, Release 1.8.0.1, Release 2.0.0 |
Components | Android |
Labels | qe-and121411, regression |
Reporter | Natalie Huynh |
Assignee | Marshall Culpepper |
Created | 2011-12-15T10:56:49.000+0000 |
Updated | 2011-12-16T13:27:06.000+0000 |
Description
Steps To Reproduce:
1. Run TC1011 from https://wiki.appcelerator.org/display/tp/Fastdev+Test+Case
Actual Result:
After clicking on the button you get a runtime error: 'Uncaught Error: Requested module not found: win'
Expected Result:
To load the content of win.js "Got a new window"
Workaround:
Need to recompile the entire project to see the new window
Note:
Last working with 1.7.5
Here are modified steps to reproduce this issue: 1. Create a new titanium mobile project 2. Add a new button under app.js
3. Launch the Application 4. Create a new file under Resources called win.js with the following code
4. Click on the button 5. Click back from the emulator 6. Modify win.js text:'Got a new window' to text:'Got updated' 7. Click on the button
Tested with 1.8.0.1.v20111216124633 with v8/rhino no longer getting runtime error