Converts scss files into css files automatically on save.
- Converts scss files into css files automatically on save
- Automatically create source maps
- Generated css can be compressed or expanded
- Notification of compile errors
Before using this extension, you must ensure that sass
is installed on your system. One method is using Homebrew.
- Install Homebrew.
- Via Terminal run
brew install sass/sass/sass
- Open Nova.
- Choose menu Extensions > Extension Library...
- Search extension
Sass
- Click Install.
CSS Style
Expanded, Compressed
Controls the output style of the resulting CSS.
Error CSS
On, Off
Tells Sass whether to emit a CSS file when an error occurs during compilation.
Generate Source Map
External, Internal, Off
Source maps are files that tell browsers or other tools that consume CSS how that CSS corresponds to the Sass files from which it was generated. They make it possible to see and even edit your Sass files in browsers.
Executable Path
/path/to/sass
Manually enter or select the scss binary location.
-
As default the scss processor will compile in the current directory. If the current directory name is
scss
it will start at the parent. This allows us to use the following directory structure where thecombined.scss
includes styles from the sub folder:project project/assets/css project/assets/css/combined.css project/assets/css/combined.scss project/assets/css/scss project/assets/css/scss/_include.scss
If either
_include.scss
orcombined.scss
are saved the compiler will run on the directoryproject/assets/css/