SCSS/SASS Multiple Sites in Multiple Directories

喜夏-厌秋 提交于 2019-11-28 05:44:22

问题


I'm looking at setting SCSS up on a platform that uses SVN with multiple websites on a team of eight.

Our currently site structure is like this.

REPO > WEBSITE1 > CSS
REPO > WEBSITE2 > CSS
REPO > WEBSITE3 > CSS
REPO > WEBSITE4 > CSS

Is there any way to Make Compass or SASS watch the entire repository (without having to watch / unwatch) each individual website with the config.rb or any other method?

Thanks for your help!


回答1:


#!/bin/bash
for i in repoa repob repoc repod
  do
    compass watch "$i/pathtoyourconfig.rb" &
done


来源:https://stackoverflow.com/questions/9688084/scss-sass-multiple-sites-in-multiple-directories

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!