Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # COMPASS WATCH
- desc "Watches and compiles sass to tomcat"
- task :watch do
- puts Paint["Watching sass", :cyan]
- puts "Watching: " + SRC_SCSS
- puts "Compile to: " + TOMCAT_SKIN + SCSS_CSS
- puts "output-style: " + SCSS_OUTPUT
- Dir.chdir(COMPASS) do
- system "compass watch --sass-dir #{SRC_SCSS} --css-dir #{TOMCAT_SKIN} --output-style #{SCSS_OUTPUT}"
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment