Answer the question
In order to leave comments, you need to log in
Why use compass watch if sass already has watch?
Hello. I am learning sass. I saw lessons that say that in order to create a watcher, you need to install compass, create 2 files: config.rb and watch.bat.
In the first settings:
require 'compass/import-once/activate'
Sass::Script::Number.precision = 8
http_path = "/"
css_dir = "css"
sass_dir = "scss"
images_dir = "images"
javascripts_dir = "js"
compass watch scss/main.scss
sass --sourcemap=none --precision=8 --watch scss/main.scss:css/main.css
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question