Im using Virtualbox on my PC to run Ubuntu which is my local development environment. The web browsers that im using the view the site are run from Windows.
How can I set up Livereload? If I install Livereload in Ubuntu then it cant reload my web browsers in Windows. If I install Livereload in Windows then I cant find the files for it to watch as they are not part of the normal file system.
Potential quick solution: just use my adhoc web server. Two of its features are:
(note: only these file extensions are monitored: htm, html, css, js, json, png, gif, php, php5, py, rb, erb
. Other file types can be monitored, but that will require modification to adhoc.)
Otherwise, your question needs more info:
Some info to help you start using LiveReload:
LiveReload needs two components. Make sure you satisfy all the requirements:
livereload.js
JavaScript file. This JavaScript file can be manually added to the HTML file or "injected" by the web server. Adhoc automatically injects the script for you. There are web browser extensions that will also inject the script for you.