Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Compiling the less always on init

  • Loading branch information...
commit 36e4975be583f8403b1ce251cd8e07ad799f1acd 1 parent 9b4f617
Krasimir Tsonev authored
Showing with 3 additions and 4 deletions.
  1. +1 −2  index.js
  2. +1 −1  package.json
  3. +1 −1  tests/less/footer.less
3  index.js
View
@@ -50,9 +50,8 @@ exports.init = function(config) {
if(!config.fileToCompile) throw new Error("Missing config parameter 'fileToCompile'.");
if(!config.destination) throw new Error("Missing config parameter 'destination'.");
watchr.watch(watch);
- } else {
- exports.compile(config);
}
+ exports.compile(config);
return exports;
};
2  package.json
View
@@ -1,6 +1,6 @@
{
"name": "lesscompile",
- "version": "0.0.4",
+ "version": "0.0.6",
"homepage": "https://github.com/krasimir/less-compiler",
"description": "compilation of project's less",
"main": "index.js",
2  tests/less/footer.less
View
@@ -1,3 +1,3 @@
#footer {
- background: @mainappcolor;
+ background: @mainappcolor;
}
Please sign in to comment.
Something went wrong with that request. Please try again.