Say I just found a bug involving javascript workflow in a web app. Most of the time I will fix the bug and reload the page. Unfortunately this is a time consuming process reloading the page all the time. Does anybody else save time by reloading updated Javascript / CSS without reloading the page. Are there any tools to help make this easy.
I understand that not all bugs can be fixed by just reloading the script, such as when the bug was in the window.onload event handler, but certainly alot of run time errors could be fixed.
I also understand that global functions are easier to hotfix then javascript written in modules (function(){})().
Just wanted to see what the stackoverflow community thought on the subject.
Thanks
How about reloading css files?