0.0
No commit activity in last 3 years
No release in over 3 years
Watches for changes and compiles Haml, Sass, Scss, and Coffeescript
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
>= 0
>= 0
 Project Readme

StaticWatcher

Watch and compile Haml, Sass, Scss, and Coffeescript.

Installation

Static Watcher requires coffeescript to be installed. See http:coffeescript.org for instructions.

Add this line to your application's Gemfile:

gem 'static_watcher'

And then execute:

$ bundle

Or install it yourself as:

$ gem install static_watcher

In a new project run:

$ static_watcher:install

or

$ bundle exec static_watcher:install

as appropriate. This will generate the folders which Static Watcher compiles from/into. The directory structure is:

/src/haml
/src/sass
/src/coffeescripts

which compile, respectively, into:

/public
/public/stylesheets
/public/javascripts

Usage

Simply execute

$ static_watcher

or:

$ bundle exec static_watcher

and use ctrl-c to stop.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request