css - How do I compile LESS files every time I save a document? -


i've installed less via npm this

$ npm install -g less 

now every time want compile source files .css, run

$ lessc styles.less styles.css 

is there way via command line make listen when save document compile automatically?

the best solution out there i've found 1 recommended on official less website: https://github.com/jgonera/autoless. dead simple use. listens changes in imported files compile.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -