 		path: config.packageFolder
 		ignoreCustomPatterns: /\.txt$/
 		listeners:
-			watching: (err,watcherInstance,isWatching) ->
+			watching: (err, watcherInstance, isWatching) ->
 				if err
-					console.log("watching the path " + watcherInstance.path + " failed with error", err);
+					console.log "watching the path #{watcherInstance.path} failed with error:", err
 				else
-					console.log("watching the path " + watcherInstance.path + " completed");
+					console.log "watching the path #{watcherInstance.path} completed"
 			change: (changeType, filePath, fileCurrentStat, filePreviousStat) ->
 				logger.log "notice", "The package folder was changed (#{filePath}: #{changeType})"
 				clearTimeout updateTimeout if updateTimeout?

				logger.log "notice", "Updated auth"
			catch err
				logger.log "error", "error parsing auth.json. Denying access to all packages: #{err}"
				auth = {}
	
	fs.readdir config.packageFolder, (err, files) ->
		logger.log "info", "Starting update"

			if err?
				logger.log "crit", "Error reading package list: #{err}"
				updating = no
				callback? false
				return
			
			# overwrite packageList once everything succeeded
