This script is used to manage code between a src control system and a vm more efficient. It will push out changes as soon as a file is saved.
Syncronized filetypes:
- Javascript
- CSS
- SCSS
- JSPX
- php
- html
##Prerequisites This reload requires that you have some code infrastructure to work. It leverages ruby and a few other utilities. I recommend that you checkout homebrew or chocolatelty for installing these packages as it makes life easier.
-
Install Ruby
-
Install RubyGems
-
Install Bundler
gem install bundler
- Install NodeJS
##Installation
- Download Scripts
cd WzlUI
git clone git://github.com/chrisrink/ui-reloaded.git && cd ui-reloaded && ./sync.sh
*to update, just run sync again.
- Get all remaining dependancies
bundle install
- Run the watch command
cd WzlUI
bundle exec guard
The watch command will run until you exit. You can always restart it by running the command again.
- Install the Livereload Plugin. This works on Firefox, Chrome, and Safari. Follow this link to install
http://feedback.livereload.com/knowledgebase/articles/86242-how-do-i-install-and-use-the-browser-extensions-