How to compile Less or Sass automatically?

5

Personal I have a question regarding Less / Sass. Nowadays I only work with Sublime Text to develop my sites, and I use Sass or Less for styles and I use Koala to compile them.

But would you like to know if there is any tool that will allow me to compile these my style files automatically?

    
asked by anonymous 21.11.2017 / 13:25

1 answer

5

You can install Node.js on your machine. It serves to run several applications that you can download at NPM , including the Gulp .

Gulp automates various operations for you. Coupled with gulp-sass , for example, you can compile your SASS files automatically each time you save them - plugin keeps observing the directory where they are and reacts to changes.

For LESS, you can use gulp-less . The principle is the same.

The instructions for using gulp and its plugins are on each page. There are only a few script lines for each of them.

Just a warning: Node.js is already addictive by itself, but its combination with NPM leads to a non-return path:)

    
21.11.2017 / 13:32