A Less/CSS transpiler plugin for the watchalive file-watching and live-reload system. Version 0.1.1 is the initial release, designed to compile Less files to CSS automatically during development. It serves as an alternative to using the standalone lessc compiler or other build-tool integrations, tightly coupled with the watchalive ecosystem for seamless file monitoring and CSS injection.
npm install watchalive-lessNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up a watchalive server with the Less transpiler plugin, watching ./src directory for changes and compiling Less files to CSS.
Refer to watchalive documentation for plugin integration patterns.
Use require() instead of import.
Create custom declaration or use @types if available.
Run 'npm install watchalive-less --save-dev' and ensure it's in the same directory as your script.
Ensure you have watchalive installed and use const watchalive = require('watchalive');Use require('watchalive-less') as the plugin entry, not a constructor.