Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

my first plugin

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 plugin.rb
README.md

My first Redcar plugin

The idea for my first plugin is rather ambitious considering I’ve no idea how to write a plugin. I’d like to replicate some of the functionality of Live Reload – basically refresh a browser web page whenever I save a file in Redcar. This will save me constantly hitting refresh in the browser when working with Backbone.js.

I’m hoping to trap the save event of Redcar and call out to my browser (Chrome) and tell it to refresh the page.

More info here [http://justinram.wordpress.com/2011/08/19/my-first-redcar-plugin/]

Installation

cd ~/.redcar/plugins

git clone git@github.com:justinramel/redcar_plugin_live_reload.git

How to use

Open the directory which contains your html file using File -> Open Directory. This is important or the plugin will not work!

Configure the plugin via the Redcar plugin preferences - Redcar -> Preferences... -> live_reload_plugin.yaml

Set the keyword to the url of the Chrome browser tab you'd like to refresh on save.

That's should be it, now every time you save in Redcar the chrome browser tab should refresh.

Something went wrong with that request. Please try again.