I\'m editing an HTML file in Vim and I want the browser to refresh whenever the file underneath changes.
Is there a plugin for Google Chrome that will listen for ch
(function() {
setTimeout(function(){
window.location.reload(true);
}, 100);
})();
Save this code into a file livereload.js and include it at the bottom of the HTML script like so:
What will this do is refresh the page every 100 mili-seconds. Any changes you make in code are instantly visible to the eyes.