- Less
- Automatically compile less files on save. THIS PLUGIN IS NO LONGER MAINTAINED
- 1519 Installs
-
This extension is allowed to:
- Launch Subprocesses
Readme
Less Extension for Nova
Compiles .less files into .css files on save (to the same location as the .less file).
Requirements
lessc
The easiest is to install lessc with npm:
- Install node/npm: https://nodejs.org/en/download/ (i.e.: https://nodejs.org/dist/v12.18.4/node-v12.18.4.pkg)
- Install less: In a Terminal, type:
sudo npm install -g less
- By default, lessc is executed from
/usr/local/bin/lessc
if you installed it at a different location, you can set the "executable path" in the extension's preferences.
Changelog
Version 1.0
Initial release
Version 1.0.1 to 1.0.3
Had to learn how Nova Extensions work and that:
- Uploading an Extension from within Nova breaks, if the project includes softlinks
- Execute Permissions are not kept when uploading an Extensions, thus i can not deliver the lessc binary with the extension, as it lost the execute-bit when the extension was uploaded/installed.
So, you now need to install your own version of lessc. Instructions see the Details/README.
Version 1.0.4
New: Optional, per project output-path preference. Use if you want to save the compiled .css files into a specific folder. You set this in Nova via the "Project"-Menu.
Version 1.0.5
New: Warn when trying to compile remote files (i.e. on SFTP-Servers) which currently seems impossible for a Nova Extension.