Guest User

Untitled

a guest
Jun 13th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment