Skip to content

Instantly share code, notes, and snippets.

@danscotton
Created March 20, 2013 12:35
Show Gist options
  • Select an option

  • Save danscotton/5204326 to your computer and use it in GitHub Desktop.

Select an option

Save danscotton/5204326 to your computer and use it in GitHub Desktop.
desc "Watch stylesheets to automatically compile"
task :news do
sh "compass watch --config tabloid/webapp/conf/compass.rb tabloid/webapp/static/sass/core.scss tabloid/webapp/static/sass/compact.scss tabloid/webapp/static/sass/tablet.scss tabloid/webapp/static/sass/wide.scss"
end
@Integralist
Copy link

desc "Watch stylesheets to automatically compile"
task :news do
  path = "tabloid/webapp/static/sass/"
  sh "compass watch --config tabloid/webapp/conf/compass.rb #{path}core.scss #{path}compact.scss #{path}tablet.scss #{path}wide.scss"
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment