Created
July 12, 2012 21:46
-
-
Save danielres/3101280 to your computer and use it in GitHub Desktop.
Compass & livereload config files for rails 3.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Lines starting with pound sign (#) are ignored. | |
| # additional extensions to monitor | |
| config.exts << 'haml' | |
| # exclude files with NAMES matching this mask | |
| #config.exclusions << '~*' | |
| # exclude files with PATHS matching this mask (if the mask contains a slash) | |
| #config.exclusions << '/excluded_dir/*' | |
| # exclude files with PATHS matching this REGEXP | |
| #config.exclusions << /somedir.*(ab){2,4}.(css|js)$/ | |
| # reload the whole page when .js changes | |
| #config.apply_js_live = false | |
| # reload the whole page when .css changes | |
| #config.apply_css_live = false | |
| # reload the whole page when images (png, jpg, gif) change | |
| #config.apply_images_live = false | |
| # wait 100ms for more changes before reloading a page | |
| #config.grace_period = 0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Require any additional compass plugins here. | |
| require 'compass_twitter_bootstrap' | |
| # Set this to the root of your project when deployed: | |
| http_path = "/" | |
| css_dir = "public/assets" | |
| sass_dir = "app/assets/stylesheets" | |
| images_dir = "app/assets/images" | |
| http_images_path = "/assets" | |
| javascripts_dir = "app/assets/javascripts" | |
| # You can select your preferred output style here (can be overridden via the command line): | |
| # output_style = :expanded or :nested or :compact or :compressed | |
| output_style = :nested | |
| # To enable relative paths to assets via compass helper functions. Uncomment: | |
| # relative_assets = true | |
| # To disable debugging comments that display the original location of your selectors. Uncomment: | |
| line_comments = false | |
| # If you prefer the indented syntax, you might want to regenerate this | |
| # project again passing --syntax sass, or you can uncomment this: | |
| # preferred_syntax = :sass | |
| # and then run: | |
| # sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Faster live editing with Rails 3.2, Compass & Livereload
Put these files in the app's root dir.
Then launch with:
$ compass watch & livereload &