Generating css file from scss file
Prerequisites
- Ruby
If you don't have Ruby installed on your machine please download and install it - scss GEM
Run the following command to install scss gem
gem install sass
Generating css
from scss
file
You can run the following command to generate css file from scss on demand
scss /path/to/your/scss/main.scss /path/to/your/css/main.css
Watching for the scss changes
You can run the following command to start watching on a scss file. This way you can autogenerate css files whenever scss file changes
scss --watch /path/to/your/scss/main.scss:/path/to/your/css/main.css