Sublime Forum

SASS build doesn't work

#1

Hi,

I want to build my .scss file (I installed sass and ruby was already installed as I’m on Mac OSX). Though, I get only a message “Finished in 0.2s” or something. In fact, it’s similiar to this issue, just - as mentioned - on Mac. Also, I don’t want to use a watcher for this. I can perfectly build the .css file from the .scss by using the terminal.
By the way, it’s the same with .less, though this isn’t really a problem because I won’t use it. But would love to know how to solve this issue anyway :smile: And this is my SASS.sublime-build:

{
	"cmd": "sass", "--update", "$file:${file_path}/${file_base_name}.css"],
	"selector": "source.sass",
	"line_regex": "Line ([0-9]+):",
	"shell": "true",

    "osx":
    {
        "path": "/usr/local/bin:$PATH"
    }
}

Best regards, .wired

0 Likes