Permalink
Browse files

Fix messages.

  • Loading branch information...
1 parent 84be8bb commit 455c0d3dc9435f0b3916cc665a26f991bcff52ea @epeli committed Jun 17, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/main.coffee
View
@@ -63,19 +63,20 @@ class Watcher
@rerun = false
@runCMD()
else
- console.log "\nRan", @settings.name, "successfully!", (new Date) + 2*60*60
+ console.log "\nRan", @name, "successfully!", (new Date) + 2*60*60
cmd.stdout.on "data", (data) -> process.stdout.write data
cmd.stderr.on "data", (data) -> process.stderr.write data
exports.run = ->
- console.log "Searching projectwatch.cfg files from #{ searchDir }\n"
dirs = process.argv.splice(2)
dirs.push process.cwd() unless dirs.length
+ console.log "Searching projectwatch.cfg files from #{ dirs }\n"
+
for searchDir in dirs
finder = findit.find(searchDir)
finder.on "file", (filepath) ->

0 comments on commit 455c0d3

Please sign in to comment.