Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Yay for me.
- class CompassIntegration
- def self.initialize!(path)
- Thread.new do
- if RAILS_ENV == 'development'
- puts "=> CompassIntegration is watching #{path}"
- `cd #{path}; compass watch`
- else
- puts "=> Compiling CompassIntegration Stylesheets once for #{path}"
- `cd #{path}; compass compile --output-style compressed --force`
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment