LiveReload, HTML/CSS/JS tool… for Flash, noooo!

Been dabbling in some goodies for straight non Flash-based web apps and one of the tools I’m using regularly is LiveReload. It basically refreshes a site whenever files change in a watched directory. It’ll also compile CoffeeScript, SASS, Jade, etc for you but the folder watching feature itself has been handy for my Flash work. So with Flash Builder’s automatic build enabled, the latest compilation is always ready in a specific browser window and tab on my secondary screen.

I won’t go over LiveReload setup as you can find that yourself but I will say that I’m using version 2.0a7 on OSX… I tried their 1.x Ruby gem but it made my MacBook do one of those jet engine impersonations. Besides, the new ui is pretty convenient.

I should also point out that atm LiveReload does not work with the local file URI protocol. To get around this, I currently run the following command out of my test site root such as bin-debug…

python -m SimpleHTTPServer

then just hit up http://localhost:8000, connect to LiveReload via the browser extension LiveReload can install, setup the watch folder(s) and I’m all set.