Reputation: 28968
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?
Upvotes: 3
Views: 3868
Reputation: 20082
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
Upvotes: 2
Reputation: 162
I think you forgot the :
my example is this: sass --watch assets/css/main.scss:assets/css/main.css
Upvotes: 2