1.https://www.sass.hk/install/ 安装cass
单单对文件做编辑
C:\Users\txkj\Desktop\scss>sass a.scss a.css
监听文件变化
C:\Users\txkj\Desktop\scss>sass --watch a.scss:a.css
>>> Sass is watching for changes. Press Ctrl-C to stop.
>>> Change detected to: a.scss
write a.css
write a.css.map
>>> Change detected to: a.scss
write a.css
write a.css.map
>>> Change detected to: a.scss
write a.css
write a.css.map
>>> Change detected to: a.scss
write a.css
write a.css.map
监听文件夹变化
C:\Users\txkj\Desktop\scss>sass --watch a.scss:a.css
>>> Sass is watching for changes. Press Ctrl-C to stop.
>>> Change detected to: a.scss
write a.css
write a.css.map
>>> Change detected to: a.scss
write a.css
write a.css.map
>>> Change detected to: a.scss
write a.css
write a.css.map
>>> Change detected to: a.scss
write a.css
write a.css.map
单单对文件做编辑
C:\Users\txkj\Desktop\scss>sass a.scss a.css
监听文件变化
C:\Users\txkj\Desktop\scss>sass --watch a.scss:a.css
>>> Sass is watching for changes. Press Ctrl-C to stop.
>>> Change detected to: a.scss
write a.css
write a.css.map
>>> Change detected to: a.scss
write a.css
write a.css.map
>>> Change detected to: a.scss
write a.css
write a.css.map
>>> Change detected to: a.scss
write a.css
write a.css.map
监听文件夹变化
C:\Users\txkj\Desktop\scss>sass --watch a.scss:a.css
>>> Sass is watching for changes. Press Ctrl-C to stop.
>>> Change detected to: a.scss
write a.css
write a.css.map
>>> Change detected to: a.scss
write a.css
write a.css.map
>>> Change detected to: a.scss
write a.css
write a.css.map
>>> Change detected to: a.scss
write a.css
write a.css.map