Compile script for Linux

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:


| - sass
| - css
| sass.cmd

script (sass-watch.cmd)

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:

Last update: Tue, 13 Sep 2022 14:32:15