Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
updating README with installation instructions
  • Loading branch information
justinramel committed Jul 16, 2012
1 parent 286d6f4 commit 755a735
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions README.md
@@ -1,18 +1,29 @@
## My first Redcar plugin ## My first Redcar plugin


The idea for my first plugin is rather ambitious considering I’ve no idea how to write a plugin. The idea for my first plugin is rather ambitious considering I’ve no idea how
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. 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. 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/] More info here [http://justinram.wordpress.com/2011/08/19/my-first-redcar-plugin/]


## How to use ## Installation
cd ~/.redcar/plugins
git clone git@github.com:justinramel/redcar_plugin_live_reload.git


Open the directory which contains your html file using File -> Open Directory. This is important or the plugin will not work! ## 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 Configure the plugin via the Redcar plugin preferences - Redcar ->
Preferences... -> live_reload_plugin.yaml


Set the keyword to the title of the Chrome browser tab you'd like to refresh on save. Set the keyword to the title 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. That's should be it, now every time you save in Redcar the chrome browser tab
should refresh.

0 comments on commit 755a735

Please sign in to comment.