How to automatically convert LESS to CSS and save it on the server?


Downloaded Sublime Text 3. Installed the plugin less2css. When save LESS – creates a new CSS file, all right. The only problem is that it is saved in a temporary folder on the computer C:\Temp\, and I would like to on the server so don't have to pour from the computer. This really?

Thank you.
April 19th 20 at 12:09
3 answers
April 19th 20 at 12:11
Really, but for greater efficiency, have put the project on collectors type Gulp/WebPack.
So the same community have long collected "packs" for easy work with the layout
Another dig in the direction of "deploy".
April 19th 20 at 12:13
If quite simply, there are build node.js + gulp or WebPack, which does everything automatically when setup is required.
For example here or here
You can read, configure, and use
April 19th 20 at 12:15
For a single file is filling webparam makes no sense, if you know how to the terminal (for example, fswatch, rsync, ssh).
fswatch -o . | while read f; do rsync-azPv -e "/usr/bin/ssh -p44262 -q" --include="*.css" ~/myproject user@server:~/myproject; done

Find more questions by tags LessLayoutCSS