SASS是不是在看? [英] SASS is not watching?

查看:92
本文介绍了SASS是不是在看?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经按照

有什么想法为什么 sass 不看吗?

解决方案

我和你有同样的问题,这个配置有效.我创建了 2 个文件夹 scss 和 css 之类的这个

然后我在 scss 文件夹中创建 1 个 scss 文件然后我运行

sass --watch scss:css

然后结果

I have installed SASS on Ubuntu as explained in the instructions, which means that I downloaded the source dart-sass-1.22.2-linux-x64.tar.gz, extracted it and added a path variable into my .bashrc.

Calling

sass input.scss output.css

will create the css file from scss source as explained in the guide.

However, when entering

sass --watch input.scss output.css

nothing happens. The file output.css is not updated when input.scss is saved. There is also no message like

Sass is watching for changes. Press Ctrl-C to stop.

as I have seen in various other posts. This is how my terminal looks:

Any ideas why sass is not watching?

解决方案

I have the same issue like you and this config work. I create 2 folder scss and css like this

Then I create 1 scss file inside scss folder then I run

sass --watch scss:css

Then result

这篇关于SASS是不是在看?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆