Permalink
Browse files

Compiling the less always on init

  • Loading branch information...
1 parent 9b4f617 commit 36e4975be583f8403b1ce251cd8e07ad799f1acd @krasimir committed Dec 16, 2012
Showing with 3 additions and 4 deletions.
  1. +1 −2 index.js
  2. +1 −1 package.json
  3. +1 −1 tests/less/footer.less
View
3 index.js
@@ -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;
};
View
2 package.json
@@ -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",
View
2 tests/less/footer.less
@@ -1,3 +1,3 @@
#footer {
- background: @mainappcolor;
+ background: @mainappcolor;
}

0 comments on commit 36e4975

Please sign in to comment.