Following only tested on Linux
You have to install sass first on Linux:
npm install -g sass
To have a watch on your SASS folder and having it compiled to a CSS folder create the following script in the root folder of your assets content:
folders
-
| - sass
| - css
| sass.cmd
script (sass-watch.cmd)
#!/bin/sh
scss --watch --sourcemap=auto sass:css
This is compiling the contents of sass
into css
. Change this to your own preference. Then open this in a terminal window:
./sass-watch.cmd