iowait

How to automatically compile LESS into CSS on the server?

泪湿孤枕 提交于 2019-12-03 03:21:25
问题 This question was migrated from Webmasters Stack Exchange because it can be answered on Stack Overflow. Migrated 7 years ago . Friend designer of mine was compiling his LESS file manually and uploading it with Coda (Remote Site) spending lots of precious time. He asked me: Is it possible to automatically detect file change on the Linux server and compile without delay at all? 回答1: I have made a script and I publish the details: Easy to use for designers Executes LESS compiler immediately

How to automatically compile LESS into CSS on the server?

我的未来我决定 提交于 2019-12-02 16:52:32
Friend designer of mine was compiling his LESS file manually and uploading it with Coda (Remote Site) spending lots of precious time. He asked me: Is it possible to automatically detect file change on the Linux server and compile without delay at all? I have made a script and I publish the details: Easy to use for designers Executes LESS compiler immediately after file is saved, without consuming server resources Any editor capable of remote editing will work with this solution - Code, Sublime Text, Textmate First, you need to install "npm" on the server by typing this into the console: sudo