https://github.com/doist/less-watcher
A script that can watch a directory and recompile .less scripts if they change.
https://github.com/doist/less-watcher
Last synced: 12 months ago
JSON representation
A script that can watch a directory and recompile .less scripts if they change.
- Host: GitHub
- URL: https://github.com/doist/less-watcher
- Owner: Doist
- Created: 2012-02-22T19:36:52.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2022-02-01T19:21:37.000Z (over 4 years ago)
- Last Synced: 2025-03-28T10:21:44.198Z (over 1 year ago)
- Language: CSS
- Homepage:
- Size: 69.3 KB
- Stars: 17
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
[](http://travis-ci.org/Layzie/less-watcher)
less-watcher is a script that can watch a directory and recompile your .less scripts if they change.
It's useful for development as you don't need to think about recompiling your Less files.
It searches in a recursive manner so sub-directories are handled as well.
To install less-watcher via npm simply do:
$ sudo npm install less-watcher
To use less-watcher simply do:
less-watcher -p [prefix] -d [directory]
Options:
-d Specify which directory to scan. [default: "."]
-p Which prefix should the compiled files have? Default is style.less will be compiled to .less.style.css. [default: ".less."]
-h Prints help [boolean]
For more info read:
http://amix.github.com/less-watcher/