daily pastebin goal


a guest Jun 13th, 2018 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Yay for me.
  2. class CompassIntegration
  3.   def self.initialize!(path)
  4.     Thread.new do
  5.       if RAILS_ENV == 'development'
  6.         puts "=> CompassIntegration is watching #{path}"
  7.         `cd #{path}; compass watch`
  8.       else
  9.         puts "=> Compiling CompassIntegration Stylesheets once for #{path}"
  10.         `cd #{path}; compass compile --output-style compressed --force`
  11.       end
  12.     end
  13.   end
  14. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand