A lot of my work (in Rails) actually centers around the views, images, SASS/CSS and Coffescript/Javascript files and I'd love to have a solution that refreshes the browser, whenever I make a change to any of this type of files. A little like autotest or watchr but for 'design' tasks.
I've looked at watchr and fs-event, which seem to provide related functionality and look around the web, but I couldn't find any ready solution yet. Did I miss something? Hard to believe that this wouldn't have been done yet — the tools clearly exist.
Assuming that a tool like this really doesn't exist, I'd like to have crack at writing my own solution. So if you have some advice on what to consider, where to have a look at interesting projects etc. — I'd appreciate that as well.
Update An example workflow would look like this:
Cheers!
From your description I would think that LiveReload would do the trick for you.
You'll need to change the .livereload
file to only reload the browser on specific file change but it's all covered in the readme (scroll to the configuration section)
There's also XRefresh that can do pretty much the same stuff but I've never used it.
Try Guard::Livereload. It will automatically reload your browser when 'view' files are modified.
For more information (and a demo) see: http://asciicasts.com/episodes/264-guard
Perhaps you're looking for something like this project?
https://github.com/logankoester/autorefresh
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With