Lessons from a life of startups, coding, countryside, and kids
Web developers, particularly Rails developers, are on a constant lookout for anything which makes their lives easier and their development process easier. Enter LiveReload. This little app watches for changes in a directory and reloads your web browser whenever a file is updated: Edit your CSS, save and bam! the web browser has already refreshed. Not more
Another solution I had considered implementing was to use my nginx server to proxy the livereload app. i.e., load the livereload.js from the SSL-enabled web server which simply proxies the livereload app. I’m sure you could make nginx do this (maybe by default or maybe with the Lua scripting — I’m not an expert) but if you’re using Rails then the gem above works really well.