I am developing a one-page web application that has many different functions and forms. When developing deep (I mean something that is not on the main page), I go through this cycle:
- develop code, edit classes and functions
- refresh the whole page
- pressing all the way until I get to the part that I need to test (sometimes it takes about a minute)
- testing new code
- back to the code editor (1) performing updates.
after making about 15 small changes, it may take 30 minutes to reboot again and pressing
Is there any plugin, javascript piece, or method that allows you to reload updated javascript without reloading everything, so you can skip 2 and 3. from the loop above and continue running live tests?
If this does not happen, I plan to develop a small javascript plugin that will reload the scripts and, possibly, use socket.io connect to the node.js server, which will look at the files for any updates and click on download events to the browser.
So, I'm interested in any idea about this, any thing that I should consider when writing a plugin.
Thanks:)
source share