Skip to content

Instantly share code, notes, and snippets.

@ckalima
Created May 15, 2014 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckalima/28c1d36235518a82d311 to your computer and use it in GitHub Desktop.
Save ckalima/28c1d36235518a82d311 to your computer and use it in GitHub Desktop.
Sample .less-watch configuration file. This snippet will automatically compile a compressed .css file from marketplace.less whenever any .less files in the /Marketplace/webapp/apps/marketplace/less directory are altered.
/Marketplace/webapp/apps/marketplace/less/*.less: lessc -x --yui-compress -C /Marketplace/webapp/apps/marketplace/less/marketplace.less /Marketplace/webapp/apps/marketplace/css/marketplace.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment