Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cooked up quick Ruby/FSSM SCSS autocompile-on-file-change script.

  • Loading branch information...
commit 4faff0421be760427c71d562d7e4ffff7398beab 1 parent 26df6d5
@46bit authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 build-sass.rb
View
11 build-sass.rb
@@ -0,0 +1,11 @@
+#!/usr/bin/env ruby
+
+require 'rubygems'
+require 'fssm'
+
+FSSM.monitor(".", '**/*') do
+ pr = Proc.new { |b,r,t| `sass assets/css/master.scss assets/css/master.css`; puts "Rendered" }
+ update { pr.call }
+ create { pr.call }
+ delete { pr.call }
+end
Please sign in to comment.
Something went wrong with that request. Please try again.