Skip to content
Browse files

Oops, removed unused logger call

  • Loading branch information...
1 parent 8406c20 commit 88a218e10e1ad4706778af15cfe3f2b76017561e @Qard committed
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/index.js
View
5 lib/index.js
@@ -80,7 +80,8 @@ Crsh.prototype.start = function () {
}
function onChange () {
- self.compile(function () {
+ self.compile(function (err) {
+ if (err) return console.error(err)
self.lastChange = Date.now()
})
}
@@ -100,7 +101,7 @@ Crsh.prototype.compile = function (cb) {
// Load all the files into a hash
Files.load(list, function (err, files) {
- if (err) return log.error(err)
+ if (err) cb(err)
// Merge all the files
var merged = list.map(function (file) {

0 comments on commit 88a218e

Please sign in to comment.
Something went wrong with that request. Please try again.