Skip to content

Instantly share code, notes, and snippets.

@jwebcat
Created March 29, 2013 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwebcat/5273349 to your computer and use it in GitHub Desktop.
Save jwebcat/5273349 to your computer and use it in GitHub Desktop.
# Compass configuration file.
require 'bootstrap-sass'
project_type = :stand_alone
# Important! change the paths below to match your project setup
sass_dir = "_sass"
css_dir = "_site/assets/stylesheets" # update to the path of your css files.
images_dir = "assets/images" # update to the path of your image files.
javascripts_dir = "assets/javascripts" # update to the path of your script files.
line_comments = false # if debugging (using chrome extension - set this to true)
cache = true
# output_style = :compressed
require 'fileutils'
on_stylesheet_saved do |file|
if File.exists?(file) && File.basename(file) == "*.css"
puts "Moving: #{file}"
system "grunt live:reload"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment