Project: aptanastudio
Issue APSTUD-3998: HTML Editor Requires Restart To See Changes Made To Referenced JavaScript File
If the end user creates an HTML file with a JavaScript file associated via a Script tag src attribute, changes to the JavaScript file will not be visible until the HTML editor is closed and restarted. Steps to Replicate : 1) Open Aptana Studio 2) Create a JavaScript file "scriptSource.js" with the content : {noformat} function scriptFun1() {} {noformat} 3) Create an HTML file in the same folder with the content : {noformat}

{noformat} 4) Resolve the JavaScript file in the outline so scriptFun1() is visible 5) In the JavaScript file, rename the function to scriptFun2() and save 6) In the HTML file, try to refresh the Outline via the collapse/expand node or by editing the src attribute value Actual Results : The new function is not visible in the HTML outline until the editor is closed and restarted. Expected Results : src JavaScript file changes should be available after the JavaScript file is saved. Proposed solution: * Listen for changes to referenced file * Refresh the outline, preserving the open/closed states of both the HTML and JS nodes
Story points: 40