A simple wrapper on libsass-python pysassc to add watch capability using watchdog.
- add
-w
and--watch
flags topysassc
command. - watch included directories and source directory recursively.
- only watch
*.scss
files. - throttling.
$ pip install pysass
Use pysass
command instead of pysassc
in order to use -w
or
--watch
flag additionaly to those provided by
libsass-python pysassc.
eg.
$ pysass -t compressed -I node_modules/skeleton-scss/scss/ \
-m ./project/src/main.scss ./project/dist/style.css --watch